aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-version.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-version.pl b/make-version.pl
index 1100afca7c..aacc846185 100755
--- a/make-version.pl
+++ b/make-version.pl
@@ -119,7 +119,7 @@ sub read_svn_info {
if ($line =~ /Last Changed Rev: (\d+)/) {
$revision = $1;
}
- if ($line =~ /^$/) {
+ if ($line =~ /^\s*$/ || $revision =~ /^\s*$/) {
$last = "unknown";
$revision = "unknown";
}