Correct version check for release candidates
authorMichael Hanselmann <hansmi@google.com>
Tue, 30 Nov 2010 17:50:44 +0000 (18:50 +0100)
committerMichael Hanselmann <hansmi@google.com>
Tue, 30 Nov 2010 18:25:41 +0000 (19:25 +0100)
The tilde needs to be escaped and I forgot the space which should be
used instead.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

autotools/check-version

index 46d8c3e..be7ecef 100755 (executable)
@@ -40,7 +40,7 @@ case "$version" in
   ;;
 esac
 
-readonly newsver="Version ${version/~/}"
+readonly newsver="Version ${version/\~/ }"
 
 if ! grep -q -x "$newsver" $newsfile
 then