Skip to content

Commit

Permalink
Pick up svn from the environment, not a fixed location.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Nov 4, 2013
1 parent 01dcd9e commit 0fef0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charting/fetch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

my $dest1 = "cache/$month.xml";
if (!-e $dest1) {
system("/opt/local/bin/svn update $fn --quiet --revision \\{$month-01T00:00:00Z\\}");
system("/usr/bin/env svn update $fn --quiet --revision \\{$month-01T00:00:00Z\\}");
system("cp $fn $dest1");
}

my $dest2 = "cache/$month.html";
if (!-e $dest2) {
system("/opt/local/bin/svn update $fn2 --quiet --revision \\{$month-01T00:00:00Z\\}");
system("/usr/bin/env svn update $fn2 --quiet --revision \\{$month-01T00:00:00Z\\}");
system("cp $fn2 $dest2");
}

Expand Down

0 comments on commit 0fef0ee

Please sign in to comment.