Strip build path from .sha256sum file
Fixes: https://github.com/MindTheGapps/15.0.0-arm64/issues/5
This commit is contained in:
@@ -93,8 +93,10 @@ function getsha256() {
|
|||||||
if [ -x $(which sha256sum) ]; then
|
if [ -x $(which sha256sum) ]; then
|
||||||
echo "sha256sum is installed, getting sha256..." >> $GLOG
|
echo "sha256sum is installed, getting sha256..." >> $GLOG
|
||||||
echo "Getting sha256sum..."
|
echo "Getting sha256sum..."
|
||||||
GSHA256=$(sha256sum $OUT/$BUILDZIP)
|
pushd $OUT > /dev/null
|
||||||
echo -e "$GSHA256" > $OUT/$BUILDZIP.sha256sum
|
GSHA256=$(sha256sum $BUILDZIP)
|
||||||
|
echo -e "$GSHA256" > $BUILDZIP.sha256sum
|
||||||
|
popd > /dev/null
|
||||||
echo "sha256 exported at $OUT/$BUILDZIP.sha256sum"
|
echo "sha256 exported at $OUT/$BUILDZIP.sha256sum"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user