diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-02 00:44:26 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-02 01:00:07 +0300 |
commit | 35f1189ea7365c1fdaf7dd9ac5e90fc8af69eae7 (patch) | |
tree | da3f7e9a7c68316877f7179ea794899eb461a7ad /share | |
parent | dc1fba9389de130809834b7832d780ecf4161496 (diff) |
build: Rename BUILD_* macros and the code self-descriptive
Diffstat (limited to 'share')
-rwxr-xr-x | share/genbuild.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/genbuild.sh b/share/genbuild.sh index 3664c75f4b..1cf480b411 100755 --- a/share/genbuild.sh +++ b/share/genbuild.sh @@ -36,9 +36,9 @@ if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$ fi if [ -n "$GIT_TAG" ]; then - NEWINFO="#define BUILD_DESC \"$GIT_TAG\"" + NEWINFO="#define BUILD_GIT_TAG \"$GIT_TAG\"" elif [ -n "$GIT_COMMIT" ]; then - NEWINFO="#define BUILD_SUFFIX $GIT_COMMIT" + NEWINFO="#define BUILD_GIT_COMMIT $GIT_COMMIT" else NEWINFO="// No build information available" fi |