]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
build : fix line breaking error in build-info.sh (#2349)
authorHesen Peng <redacted>
Tue, 25 Jul 2023 12:24:09 +0000 (05:24 -0700)
committerGitHub <redacted>
Tue, 25 Jul 2023 12:24:09 +0000 (15:24 +0300)
* fix line breaking

* build number line break removal

scripts/build-info.sh

index 507d7e1537b690dcea510511b972fc82b507d76c..ed0d6c56a23f8fc783516f73f0ddf58211557512 100755 (executable)
@@ -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"