hooks/pre-pkg: do not dereference symbolic links while rewriting mtimes.

This commit is contained in:
Enno Boland 2016-02-23 08:22:04 +01:00
parent c83a4d96c4
commit 3b8c53d702
1 changed files with 1 additions and 1 deletions

View File

@ -22,5 +22,5 @@ hook() {
fi
date=$($GIT_CMD -C ${XBPS_SRCPKGDIR}/${basepkg} log --pretty='%ci' --date=iso -n1 .)
msg_normal "$pkgver: setting mtimes to %s\n" "$(date --date "$date")"
find $PKGDESTDIR -print0 | xargs -0 touch --date "$date"
find $PKGDESTDIR -print0 | xargs -0 touch -h --date "$date"
}