aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-02 00:48:35 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-04 19:53:21 +0300
commit8f9f4ba5e2b738fb63c2d6cdcfdce5c169d4e88c (patch)
tree71152c9eb7226c3cbb9f52b6c114210f2610a54d /share
parent35f1189ea7365c1fdaf7dd9ac5e90fc8af69eae7 (diff)
downloadbitcoin-8f9f4ba5e2b738fb63c2d6cdcfdce5c169d4e88c.tar.xz
refactor: Remove duplicated code
Diffstat (limited to 'share')
-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