mirror of https://github.com/perkeep/perkeep.git
dev-server: warn about missing svn
Change-Id: I6db5c5978d3ad26f771c35ce2d3e1a6e3f313ce9
This commit is contained in:
parent
8464059cab
commit
f879818b10
|
@ -178,11 +178,13 @@ unless ($opt_staticres) {
|
|||
my $local_rev = "r" . `svnversion`;
|
||||
chomp($local_rev);
|
||||
if ($local_rev ne $closure_rev) {
|
||||
die "No 'svn' found; install Subversion.\n" unless `which svn` =~ /\S/;
|
||||
system("svn", "update", "-r", $closure_rev)
|
||||
and die "Failed to svn up the closure library: $!\n";
|
||||
}
|
||||
chdir $Bin or die;
|
||||
} else {
|
||||
die "No 'svn' found; install Subversion.\n" unless `which svn` =~ /\S/;
|
||||
system("svn", "checkout", "-r", $closure_rev, $closure_svn, "tmp")
|
||||
and die "Failed to svn co the closure library: $!\n";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue