]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
guix: remove githash.txt
authortobtoht <tob@featherwallet.org>
Fri, 21 Feb 2025 11:59:03 +0000 (12:59 +0100)
committertobtoht <tob@featherwallet.org>
Fri, 21 Feb 2025 11:59:03 +0000 (12:59 +0100)
contrib/guix/libexec/build.sh

index 2b3982b390d9276efbdb39fd7239394431ab75c5..061e1e65503858d4fc8b17d5d3563943ca0e401b 100755 (executable)
@@ -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}