aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-version.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/make-version.pl b/make-version.pl
index a00a3a50f1..1100afca7c 100755
--- a/make-version.pl
+++ b/make-version.pl
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# Copyright 2004 Jörg Mayer (see AUTHORS file)
+# Copyright 2004 Jörg Mayer (see AUTHORS file)
#
# $Id$
#
@@ -119,6 +119,10 @@ sub read_svn_info {
if ($line =~ /Last Changed Rev: (\d+)/) {
$revision = $1;
}
+ if ($line =~ /^$/) {
+ $last = "unknown";
+ $revision = "unknown";
+ }
} else {
# The entries schema is flat, so we can use regexes to parse its contents.
while ($line = <ENTRIES>) {