Skip to content
Snippets Groups Projects
Commit ff4e2427 authored by krayken's avatar krayken
Browse files

compile.sh: Fix bad variable dereference

parent acd225a6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment