Re: [PATCH 1/3] setup: Provide GIT_PREFIX to built-ins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 22, 2011 at 11:57, David Aguilar <davvid@xxxxxxxxx> wrote:
> + Â Â Â printf "#!/bin/sh\n" >diff &&
> + Â Â Â printf "printf \"\$GIT_PREFIX\"\n" >>diff &&

If you're going to use /bin/sh (which might be a non-POSIX shell) it's
probably better to use echo than rely on printf understanding \n.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]