aboutsummaryrefslogtreecommitdiff
path: root/share/genbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'share/genbuild.sh')
-rwxr-xr-xshare/genbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/genbuild.sh b/share/genbuild.sh
index 1cf480b411..1153df933f 100755
--- a/share/genbuild.sh
+++ b/share/genbuild.sh
@@ -38,7 +38,7 @@ fi
if [ -n "$GIT_TAG" ]; then
NEWINFO="#define BUILD_GIT_TAG \"$GIT_TAG\""
elif [ -n "$GIT_COMMIT" ]; then
- NEWINFO="#define BUILD_GIT_COMMIT $GIT_COMMIT"
+ NEWINFO="#define BUILD_GIT_COMMIT \"$GIT_COMMIT\""
else
NEWINFO="// No build information available"
fi