From 82552b7f5403ca13957ac9a2cdc1732470057b62 Mon Sep 17 00:00:00 2001 From: Hesen Peng Date: Tue, 25 Jul 2023 05:24:09 -0700 Subject: [PATCH] build : fix line breaking error in build-info.sh (#2349) * fix line breaking * build number line break removal --- scripts/build-info.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build-info.sh b/scripts/build-info.sh index 507d7e1..ed0d6c5 100755 --- a/scripts/build-info.sh +++ b/scripts/build-info.sh @@ -16,7 +16,8 @@ fi echo "#ifndef BUILD_INFO_H" echo "#define BUILD_INFO_H" echo "" -echo "#define BUILD_NUMBER $BUILD_NUMBER" -echo "#define BUILD_COMMIT \"$BUILD_COMMIT\"" +echo "#define BUILD_NUMBER $BUILD_NUMBER" | tr -d '\n' +echo "" +echo "#define BUILD_COMMIT \"$BUILD_COMMIT\"" | tr -d '\n' echo "" echo "#endif // BUILD_INFO_H"