(making links to `src'): Keep timestamp on copied files.
This commit is contained in:
parent
e155e60e2d
commit
62dfdaf094
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue