summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorKevin Stone <kevinastone@users.noreply.github.com>2019-08-11 10:44:00 -0500
committerXECDesign <XECDesign@users.noreply.github.com>2019-08-11 16:44:00 +0100
commit18b945ffb2ed771e7b234af30882f048c27c5e65 (patch)
tree7269e186073fe3a86e476b0916481e85a842544e /build.sh
parent920e22bdc5224238881d8a87d17efa9d6f1e991c (diff)
Moved git-hash determination to passed in build variable (#273)
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 3e56629..93faf72 100755
--- a/build.sh
+++ b/build.sh
@@ -168,6 +168,8 @@ export WPA_PASSWORD
export WPA_COUNTRY
export ENABLE_SSH="${ENABLE_SSH:-0}"
+export GIT_HASH=${GIT_HASH:-"$(git rev-parse HEAD)"}
+
export BASE_DIR
export CLEAN