diff options
-rwxr-xr-x | support/scripts/setlocalversion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/setlocalversion b/support/scripts/setlocalversion index adeeb781e7..33cd605bf3 100755 --- a/support/scripts/setlocalversion +++ b/support/scripts/setlocalversion @@ -54,7 +54,7 @@ fi # Check for mercurial and a mercurial repo. if hgid=`hg id 2>/dev/null`; then - tag=`printf '%s' "$hgid" | cut -d' ' -f2` + tag=`printf '%s' "$hgid" | cut -d' ' -f2 --only-delimited` # Do we have an untagged version? if [ -z "$tag" -o "$tag" = tip ]; then |