mirror of
https://github.com/clockfort/GitHub-Backup.git
synced 2025-03-09 00:00:03 +01:00
Merge branch 'master' of github.com:clockfort/GitHub-Backup
This commit is contained in:
commit
d3fc2d3f23
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ for(my $i = 0; $i < @urls; ++$i){
|
|||
}
|
||||
unless(-e "$backupdir/$name"){ #We haven't backed this up before, let's clone it
|
||||
print "CLONING REPOSITORY: $url\n";
|
||||
system("cd backups && git clone $url") and die "Encountered an error while git-cloning repository $name\n";
|
||||
system("cd $backupdir && git clone $url") and die "Encountered an error while git-cloning repository $name\n";
|
||||
}
|
||||
else{ #We've backed it up before, just fetch the most recent copy
|
||||
print "REPOSITORY EXISTED, FETCHING: $name\n";
|
||||
|
|
Loading…
Add table
Reference in a new issue