epita-std
/
ACU
Archived
1
0
Fork 0

chdir before remove dir

This commit is contained in:
Mercier Pierre-Olivier 2013-11-06 18:13:08 +01:00
parent 90727e48d5
commit 8a4b545da6
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ sub save_conf(;$)
log INFO, "Saving repositories configuration";
qx(git push);
chdir("/");
remove_tree($gitolite_directory);
$gitolite_directory = undef;
}