From: tobtoht Date: Fri, 21 Feb 2025 11:59:03 +0000 (+0100) Subject: guix: remove githash.txt X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=22ce2011a7fe42cfe9caef5b2a979a4e3ea936e0;p=gamesguru%2Ffeather.git guix: remove githash.txt --- diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh index 2b3982b3..061e1e65 100755 --- a/contrib/guix/libexec/build.sh +++ b/contrib/guix/libexec/build.sh @@ -246,9 +246,7 @@ GIT_ARCHIVE="${DIST_ARCHIVE_BASE}/${DISTNAME}.tar.gz" # Create the source tarball if not already there if [ ! -e "$GIT_ARCHIVE" ]; then mkdir -p "$(dirname "$GIT_ARCHIVE")" - git rev-parse --short=12 HEAD > githash.txt - ( git ls-files --recurse-submodules ; echo "githash.txt" ) \ - | cat \ + git ls-files --recurse-submodules \ | sort \ | tar --create --transform "s,^,${DISTNAME}/," --mode='u+rw,go+r-w,a+X' --files-from=- \ | gzip -9n > ${GIT_ARCHIVE}