diff --git a/common/hooks/post-install/05-generate-gitrevs.sh b/common/hooks/post-install/05-generate-gitrevs.sh index fe162e22243..82b2ab1a786 100644 --- a/common/hooks/post-install/05-generate-gitrevs.sh +++ b/common/hooks/post-install/05-generate-gitrevs.sh @@ -1,5 +1,5 @@ -# This hook generates a file in ${wrksrc}/.xbps_git_revs with the last -# commit sha1 (in short mode) for all files of a source pkg. +# This hook generates a file ${XBPS_STATEDIR}/gitrev with the last +# commit sha1 (in short mode) for source pkg if XBPS_USE_GIT_REVS is enabled. hook() { local GITREVS_FILE=${XBPS_STATEDIR}/gitrev