From 413f274d20b43e46dd51af82bc0a18c02d7aefc0 Mon Sep 17 00:00:00 2001 From: Geo Date: Wed, 7 Aug 2024 21:55:06 -0400 Subject: [PATCH] Match misc/newversion to handle #1507 string change --- misc/newversion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/newversion b/misc/newversion index 5bb879d0c..747ff0a36 100755 --- a/misc/newversion +++ b/misc/newversion @@ -39,7 +39,7 @@ fi umask 022 -OLD_EGGVERSION=$(grep AC_INIT configure.ac | sed -e 's/AC_INIT(\[Eggdrop\],\[//g' -e 's/\],\[bugs@eggheads.org\])//g') +OLD_EGGVERSION=$(grep AC_INIT configure.ac| sed -e 's/AC_INIT(\[Eggdrop\],\[//g' -e 's/\],\[bugs@eggheads.org\].*//g') NEW_EGGVERSION=$(echo $OLD_EGGVERSION | cut -d. -f1-2).$(($(echo $OLD_EGGVERSION | cut -d. -f3) + 1)) #NEW_EGGVERSION="1.9.0" NEW_NUMVERSION=$(($(grep '^#define EGG_NUMVER.*' src/version.h |cut -d " " -f 3|sed -e 's/..$/00/') + 100))