hooks/pre-pkg: mtime rewriting is default on now.
This commit is contained in:
parent
ca84fd0a9a
commit
c83a4d96c4
2 changed files with 5 additions and 5 deletions
|
@ -4,8 +4,8 @@
|
||||||
hook() {
|
hook() {
|
||||||
local GIT_CMD date basepkg
|
local GIT_CMD date basepkg
|
||||||
|
|
||||||
# If XBPS_USE_GIT_COMMIT_DATE is disabled in conf file don't continue.
|
# If XBPS_USE_BUILD_MTIME is enabled in conf file don't continue.
|
||||||
if [ -z $XBPS_USE_GIT_COMMIT_DATE ]; then
|
if [ -n "$XBPS_USE_BUILD_MTIME" ]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@ XBPS_SUCMD="sudo /bin/sh -c"
|
||||||
#XBPS_CHROOT_CMD_ARGS=""
|
#XBPS_CHROOT_CMD_ARGS=""
|
||||||
|
|
||||||
# [OPTIONAL]
|
# [OPTIONAL]
|
||||||
# Enable fixed timestamps. If set xbps-src will overwrite the mtime of all files
|
# Enable to use the standard mtime of files. Otherwise it will be rewritten to
|
||||||
# in a package with the commit date of the package.
|
# the last commit time of the package.
|
||||||
#
|
#
|
||||||
#XBPS_USE_GIT_COMMIT_DATE=yes
|
#XBPS_USE_BUILD_MTIME=yes
|
||||||
|
|
Loading…
Add table
Reference in a new issue