summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/svn-testament.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/svn-testament.pl b/utils/svn-testament.pl
index 35df4af15..f159f00d4 100755
--- a/utils/svn-testament.pl
+++ b/utils/svn-testament.pl
@@ -31,8 +31,8 @@ if ( $svn_present ) {
}
} else {
$svninfo{repositoryroot} = "http://nowhere/";
- $svninfo{url} = "http://nowhere/netsurf/trunk/";
- $svninfo{revision} = "0";
+ $svninfo{url} = "http://nowhere/tarball/";
+ $svninfo{revision} = "unknown";
}
my %svnstatus; # The SVN status output
@@ -78,6 +78,9 @@ if ($url =~ m@/trunk/@) {
if ($url =~ m@/tags/@) {
$testament .= "#define WT_BRANCHISTAG 1\n";
}
+if ($url =~ m@/tarball/@) {
+ $testament .= "#define WT_NO_SVN 1\n";
+}
$testament .= "#define WT_REVID \"$svninfo{revision}\"\n";
$testament .= "#define WT_MODIFIED " . scalar(keys %svnstatus) . "\n";
$testament .= "#define WT_MODIFICATIONS {\\\n";