mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
guix: fix source archive
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user