From 3e02a4c67c78c85b7583947841cee04583df6496 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 15 Feb 2021 10:10:07 +0100 Subject: [PATCH] Framework: tedious work on FreeBSD... --- Scripts/revbump.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/revbump.sh b/Scripts/revbump.sh index 135168df5..120b0fce4 100755 --- a/Scripts/revbump.sh +++ b/Scripts/revbump.sh @@ -12,5 +12,6 @@ REV=$(make -C ${DIR} -V PLUGIN_REVISION) REV=$(expr ${REV} \+ 1) grep -v ^PLUGIN_REVISION ${DIR}/Makefile > ${DIR}/Makefile.tmp -sed -e "s/^\(PLUGIN_VERSION.*\)/\1\nPLUGIN_REVISION= ${REV}/g" ${DIR}/Makefile.tmp > ${DIR}/Makefile +sed -e "s/^\(PLUGIN_VERSION.*\)/\1%PLUGIN_REVISION= ${REV}/g" \ + ${DIR}/Makefile.tmp | tr '%' '\n' > ${DIR}/Makefile rm -f ${DIR}/Makefile.tmp