Skip to content

Commit 9c0d256

Browse files
committed
Fix release version grep
(cherry picked from commit 594e36f)
1 parent 8f75852 commit 9c0d256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/releaseprep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ show_usage() {
3434

3535
regenerate_changelog() {
3636

37-
EGGVERSION=$(grep AC_INIT configure.ac| sed -e 's/AC_INIT(\[Eggdrop\],\[//g' -e 's/\],\[bugs@eggheads.org\].*//g')
37+
EGGVERSION=$(grep AC_INIT configure.ac | sed -e 's/AC_INIT([^,]*,\[//' -e 's/\].*$//')
3838
EGG_RC=$(grep '^#define EGG_PATCH.*' src/version.h |cut -d " " -f 3|awk '{print tolower($0)}'|sed -e 's/^"//' -e 's/"$//')
3939
if ! [ $(echo $EGG_RC|grep ^rc) ]; then
4040
EGG_RC=""

0 commit comments

Comments
 (0)