Skip to content

Commit

Permalink
Match misc/newversion to handle #1507 string change
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed Aug 8, 2024
1 parent 05b978b commit 413f274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/newversion
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fi

umask 022

OLD_EGGVERSION=$(grep AC_INIT configure.ac | sed -e 's/AC_INIT(\[Eggdrop\],\[//g' -e 's/\],\[[email protected]\])//g')
OLD_EGGVERSION=$(grep AC_INIT configure.ac| sed -e 's/AC_INIT(\[Eggdrop\],\[//g' -e 's/\],\[[email protected]\].*//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))
Expand Down

0 comments on commit 413f274

Please sign in to comment.