From: Richard M. Stallman Date: Sun, 21 Sep 1997 12:32:49 +0000 (+0000) Subject: (making links to `src'): Keep timestamp on copied files. X-Git-Tag: emacs-20.3~3111 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=62dfdaf094f4a9dfb78527d670c628321c3002c1;p=emacs.git (making links to `src'): Keep timestamp on copied files. --- diff --git a/make-dist b/make-dist index 6b910af5242..fb60c85e102 100755 --- a/make-dist +++ b/make-dist @@ -344,12 +344,12 @@ echo "Making links to \`src'" # test -f appears to succeed for a symlink if test -L ../${tempdir}/src/$file; then rm ../${tempdir}/src/$file - cp $file ../${tempdir}/src + cp -p $file ../${tempdir}/src chmod a-w ../${tempdir}/src/$file fi else rm ../${tempdir}/src/$file - cp $file ../${tempdir}/src + cp -p $file ../${tempdir}/src chmod a-w ../${tempdir}/src/$file fi done