From 3465c65348390fec90d0e51f84e9e6fc444c4724 Mon Sep 17 00:00:00 2001 From: minff <16268924+minff@users.noreply.github.com> Date: Tue, 6 Aug 2024 15:42:35 +0200 Subject: [PATCH] adjust build script Signed-off-by: minff <16268924+minff@users.noreply.github.com> --- makeBuild.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/makeBuild.sh b/makeBuild.sh index 00a883e..934f4db 100755 --- a/makeBuild.sh +++ b/makeBuild.sh @@ -36,13 +36,10 @@ fi ( cd build -if $( echo $ver | grep -q alpha ); then - sed -i"" -e "s/name=.*/\0 alpha/" \ - -e "s/version=.*/version=$ver/" \ - ./$folder/metadata.txt -fi +sed -i "" -e "s/version=.*/version=$ver/" \ + ./$folder/metadata.txt if [ "$folderSuffix" ]; then - sed -i"" -e "s/name=.*/\0 $folderSuffix/" \ + sed -i "" -e "s/\(name=.*\)/\1 $folderSuffix/" \ ./$folder/metadata.txt fi