From 1d976e54f2a68b934dd435344b40a8edc6ef671f Mon Sep 17 00:00:00 2001 From: Gregor Date: Sat, 13 Jul 2019 23:26:49 +0200 Subject: [PATCH] inprove USER_PROLOG handling --- tools/update_buildinfo.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/update_buildinfo.sh b/tools/update_buildinfo.sh index 9e8a553a..d07c51dd 100755 --- a/tools/update_buildinfo.sh +++ b/tools/update_buildinfo.sh @@ -40,10 +40,6 @@ cat > $TEMPFILE << EndOfMessage #define __BUILDINFO_H__ EndOfMessage -if [ -n "$USER_PROLOG" ]; then - USER_PROLOG_LINE="$USER_PROLOG"\\n -fi - echo "#define USER_PROLOG \""$USER_PROLOG"\"" >> $TEMPFILE echo "#define BUILDINFO_BRANCH \""$BRANCH"\"" >> $TEMPFILE echo "#define BUILDINFO_COMMIT_ID \""$COMMIT_ID"\"" >> $TEMPFILE @@ -57,7 +53,7 @@ echo "#define BUILDINFO_MODULES \""$MODULES"\"" >> $TEMPFILE cat >> $TEMPFILE << EndOfMessage2 #define NODE_VERSION_LONG \\ - "$USER_PROLOG_LINE" \\ + "$USER_PROLOG \n" \\ "\tbranch: " BUILDINFO_BRANCH "\n" \\ "\tcommit: " BUILDINFO_COMMIT_ID "\n" \\ "\trelease: " BUILDINFO_RELEASE "\n" \\