build : fix line breaking error in build-info.sh (#2349)

* fix line breaking

* build number line break removal
This commit is contained in:
Hesen Peng 2023-07-25 05:24:09 -07:00 committed by GitHub
parent 0c06204fb3
commit 82552b7f54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,8 @@ fi
echo "#ifndef BUILD_INFO_H" echo "#ifndef BUILD_INFO_H"
echo "#define BUILD_INFO_H" echo "#define BUILD_INFO_H"
echo "" echo ""
echo "#define BUILD_NUMBER $BUILD_NUMBER" echo "#define BUILD_NUMBER $BUILD_NUMBER" | tr -d '\n'
echo "#define BUILD_COMMIT \"$BUILD_COMMIT\"" echo ""
echo "#define BUILD_COMMIT \"$BUILD_COMMIT\"" | tr -d '\n'
echo "" echo ""
echo "#endif // BUILD_INFO_H" echo "#endif // BUILD_INFO_H"