Update "git-set-dir-times" to use "--no-dereference" so my fun mkimage.sh symlink in my Debian repo doesn't break on not-my-machine :D

This commit is contained in:
Tianon Gravi 2014-09-19 15:36:38 -06:00
parent 1cd92b1d66
commit 3b563a5ffc
1 changed files with 1 additions and 1 deletions

View File

@ -14,6 +14,6 @@ unset IFS
for dir in "${allDirs[@]}"; do
ref="$(ls -At "$dir" | grep -v '^.git$' | head -1)"
if [ "$ref" ]; then
touch --reference "$dir/$ref" "$dir"
touch --no-dereference --reference "$dir/$ref" "$dir"
fi
done