aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-09-21 12:32:49 +0000
committerRichard M. Stallman1997-09-21 12:32:49 +0000
commit62dfdaf094f4a9dfb78527d670c628321c3002c1 (patch)
tree8e25c802c995ee2c6522856b22472ccf74d1a618
parente155e60e2dfaa1c400beec0f42ce1b2414aaefc6 (diff)
downloademacs-62dfdaf094f4a9dfb78527d670c628321c3002c1.tar.gz
emacs-62dfdaf094f4a9dfb78527d670c628321c3002c1.zip
(making links to `src'): Keep timestamp on copied files.
-rwxr-xr-xmake-dist4
1 files changed, 2 insertions, 2 deletions
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'"
344 # test -f appears to succeed for a symlink 344 # test -f appears to succeed for a symlink
345 if test -L ../${tempdir}/src/$file; then 345 if test -L ../${tempdir}/src/$file; then
346 rm ../${tempdir}/src/$file 346 rm ../${tempdir}/src/$file
347 cp $file ../${tempdir}/src 347 cp -p $file ../${tempdir}/src
348 chmod a-w ../${tempdir}/src/$file 348 chmod a-w ../${tempdir}/src/$file
349 fi 349 fi
350 else 350 else
351 rm ../${tempdir}/src/$file 351 rm ../${tempdir}/src/$file
352 cp $file ../${tempdir}/src 352 cp -p $file ../${tempdir}/src
353 chmod a-w ../${tempdir}/src/$file 353 chmod a-w ../${tempdir}/src/$file
354 fi 354 fi
355 done 355 done