diff options
| author | Hennadii Stepanov <[email protected]> | 2020-05-02 00:48:35 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-05-04 19:53:21 +0300 |
| commit | 8f9f4ba5e2b738fb63c2d6cdcfdce5c169d4e88c (patch) | |
| tree | 71152c9eb7226c3cbb9f52b6c114210f2610a54d /share | |
| parent | build: Rename BUILD_* macros and the code self-descriptive (diff) | |
| download | discoin-8f9f4ba5e2b738fb63c2d6cdcfdce5c169d4e88c.tar.xz discoin-8f9f4ba5e2b738fb63c2d6cdcfdce5c169d4e88c.zip | |
refactor: Remove duplicated code
Diffstat (limited to 'share')
| -rwxr-xr-x | share/genbuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/genbuild.sh b/share/genbuild.sh index 1cf480b41..1153df933 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 |