mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 19:29:53 +03:00
13 lines
363 B
Diff
13 lines
363 B
Diff
diff --git a/build.sh b/build.sh
|
|
index 05d916e..a341e49 100755
|
|
--- a/build.sh
|
|
+++ b/build.sh
|
|
@@ -4,7 +4,7 @@ set -euo pipefail
|
|
|
|
source ./scripts/test_lib.sh
|
|
|
|
-GIT_SHA=$(git rev-parse --short HEAD || echo "GitNotFound")
|
|
+: ${GIT_SHA:=$(git rev-parse --short HEAD || echo "GitNotFound")}
|
|
if [[ -n "${FAILPOINTS:-}" ]]; then
|
|
GIT_SHA="$GIT_SHA"-FAILPOINTS
|
|
fi
|