hooks/pre-pkg: do not dereference symbolic links while rewriting mtimes.
This commit is contained in:
parent
c83a4d96c4
commit
3b8c53d702
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue