From 4d61f18ca9ef6648bb093ed87728b4f39338a31a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 9 Jun 2025 19:01:27 +0200 Subject: [PATCH] Strip build path from .sha256sum file Fixes: https://github.com/MindTheGapps/15.0.0-arm64/issues/5 --- build/gapps.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/gapps.sh b/build/gapps.sh index 708c0cc..a2db6af 100755 --- a/build/gapps.sh +++ b/build/gapps.sh @@ -93,8 +93,10 @@ function getsha256() { if [ -x $(which sha256sum) ]; then echo "sha256sum is installed, getting sha256..." >> $GLOG echo "Getting sha256sum..." - GSHA256=$(sha256sum $OUT/$BUILDZIP) - echo -e "$GSHA256" > $OUT/$BUILDZIP.sha256sum + pushd $OUT > /dev/null + GSHA256=$(sha256sum $BUILDZIP) + echo -e "$GSHA256" > $BUILDZIP.sha256sum + popd > /dev/null echo "sha256 exported at $OUT/$BUILDZIP.sha256sum" return 0 else