refactor: Remove duplicated code

This commit is contained in:
Hennadii Stepanov committed 2020-05-04 19:53:21 +03:00
1 parent 35f1189ea7
commit 8f9f4ba5e2
2 files changed
+13 -19

No files matched your search

+1 -1
View File
@@ -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