diff --git a/compile.sh b/compile.sh index 4e6e278336b7d12ffe8afd3fa051ed572a40b428..cf869f74dd9f23fafbbd153f329979046f8d9116 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