Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

Commit

Permalink
Remove unnecessary cd -;
Browse files Browse the repository at this point in the history
  • Loading branch information
xbrukner committed Feb 27, 2012
1 parent 7079eb0 commit a0ef304
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SVN.pm
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ sub _fetch_dir {
if (system($cmd) != 0) {
$self->result('cant_update');
}
`cd -;`;
#`cd -;`;
}

return -d $dir;
Expand All @@ -97,10 +97,10 @@ sub _fetch_file {
my $cmd = "cd $prev; svn update -r $rev $name";
if (system("$cmd") != 0) {
$self->result('cant_update');
`cd -;`;
#`cd -;`;
return 1; #Immediate stop
}
`cd -;`;
#`cd -;`;

if (-f $file) { return 0; }
else {
Expand Down

0 comments on commit a0ef304

Please sign in to comment.