This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated/Test: base-files-4.3-1
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Sun, 04 Sep 2016 13:30:35 +0200
- Subject: Re: [ANNOUNCEMENT] Updated/Test: base-files-4.3-1
- Authentication-results: sourceware.org; auth=none
- References: <announce.878tv914ya.fsf@Rainer.invalid> <57CC0128.3080900@t-online.de>
Christian Franke writes:
> --- base-files-profile.sh.orig 2016-09-03 13:37:59.000000000 +0200
> +++ base-files-profile.sh 2016-09-04 12:42:40.805222900 +0200
> @@ -18,7 +18,7 @@
> if [ ! -e ${fDest} -a ! -L ${fDest} ]; then
> echo "Using the default version of ${fDest} (${fSrc})"
> /usr/bin/mkdir -p $(dirname ${fDest})
> - /usr/bin/touch ${fDest}
> + test "${fDest}" = "/Cygwin.bat" || /usr/bin/touch ${fDest}
> /usr/bin/cp ${fSrc} ${fDest}
> else
> echo "${fDest} is already in existence, not overwriting."
I have no idea why it's touching the file first, but I'd rather use
cp --preserve=mode
and fix the mode bits in /etc/defaults if necessary.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple