From ff4e24276fe8ee8081733920d071e86d3c5492ec Mon Sep 17 00:00:00 2001 From: krayken <16180-krayken@users.noreply.gitgud.io> Date: Thu, 18 Jun 2020 00:43:15 -0400 Subject: [PATCH] compile.sh: Fix bad variable dereference --- compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.sh b/compile.sh index 4e6e278336b..cf869f74dd9 100755 --- a/compile.sh +++ b/compile.sh @@ -68,7 +68,7 @@ function compile() { file="bin/FC_pregmod.html" if [[ -d .git ]]; then COMMIT=$(git rev-parse --short HEAD) # Find and insert current commit - printf "App.Version.commitHash = '%s';\n" $(COMMIT) > src/002-config/fc-version.js.commitHash.js + printf "App.Version.commitHash = '%s';\n" ${COMMIT} > src/002-config/fc-version.js.commitHash.js if [[ "$usehash" ]]; then file="bin/FC_pregmod_${COMMIT}.html" fi -- GitLab