From 22ce2011a7fe42cfe9caef5b2a979a4e3ea936e0 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 21 Feb 2025 12:59:03 +0100 Subject: [PATCH] guix: remove githash.txt --- contrib/guix/libexec/build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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} -- 2.52.0