]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
guix: fix source archive
authortobtoht <tob@featherwallet.org>
Fri, 13 Jan 2023 15:29:18 +0000 (16:29 +0100)
committertobtoht <tob@featherwallet.org>
Fri, 13 Jan 2023 15:29:18 +0000 (16:29 +0100)
contrib/guix/libexec/build.sh

index 23021b7230c4430cfcd674be5744b7f032677d34..edcb336a8f68a845dd1b11427b9871006e56bdf4 100755 (executable)
@@ -231,7 +231,7 @@ GIT_ARCHIVE="${DIST_ARCHIVE_BASE}/${DISTNAME}.tar.gz"
 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 | tar --transform 's,^,$DISTNAME/,' -caf ${GIT_ARCHIVE} -T-
+    ( git ls-files --recurse-submodules ; echo "githash.txt" ) | cat | tar --transform "s,^,${DISTNAME}/," -caf ${GIT_ARCHIVE} -T-
     sha256sum "$GIT_ARCHIVE"
 fi