From 6e9307a9f1158f1f52a8d50a2de5ba160979eea0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Mar 2022 15:47:25 +0300 Subject: [PATCH] amend previous --- src/app/build-prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/build-prepare.sh b/src/app/build-prepare.sh index 7f20969..b90d75e 100755 --- a/src/app/build-prepare.sh +++ b/src/app/build-prepare.sh @@ -13,7 +13,7 @@ BUILD_COMMIT=$(git --git-dir=$DST_DIR/.git --no-pager log --pretty='%H' -n1 HEAD echo built for: $BUILD_COMMIT -if [ ! -z $ORIGIN_COMMIT -a "$ORIGIN_COMMIT" != "$BUILD_COMMIT" ]; then +if [ ! -z "$ORIGIN_COMMIT" -a "$ORIGIN_COMMIT" != "$BUILD_COMMIT" ]; then echo actual build commit differs from requested commit, bailing out. exit 1 fi