Skip to content

Commit

Permalink
Make regex less sensitive to whitespace
Browse files Browse the repository at this point in the history
autoupdate from autotools removed this whitespace in configure.ac.
  • Loading branch information
oschwald committed Jan 15, 2025
1 parent 2f52d6f commit 52e7045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-bin/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ -n "$(git status --porcelain)" ]; then
exit 1
fi

perl -i -pe "s/(?<=AC_INIT\(\[mod_maxminddb\], \[)(\d+\.\d+\.\d+)(?=\])/$TAG/" configure.ac;
perl -i -pe "s/(?<=AC_INIT\(\[mod_maxminddb\], ?\[)(\d+\.\d+\.\d+)(?=\])/$TAG/" configure.ac;

if [ -z "$(git status --porcelain)" ]; then
echo 'Failed to update configure.ac'
Expand Down

0 comments on commit 52e7045

Please sign in to comment.