Skip to content

Commit

Permalink
Fix version scan again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerilk committed May 18, 2023
1 parent a7dba27 commit 59f538a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-aux/version-subst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if test "x$version" = x; then
echo "$0: Missing VERSION mandatory argument." >&2
echo "$0: Try '--help' for more information." >&2
else
echo "$version" | grep -q '^\([0-9]\+\.\)\{3\}[0-9]\+\(-[a-f0-9]\+\(-dirty\)\)\?$';
echo "$version" | grep -q '^\([0-9]\+\.\)\{3\}[0-9]\+\(-[a-f0-9]\+\(-dirty\)\?\)\?$';
retval=$?
if [ $retval -eq 1 ]; then
echo "$0: Incorrect VERSION format: $version." >&2
Expand Down

0 comments on commit 59f538a

Please sign in to comment.