commit 17947e606686e402522e0e15b6a41f1fc20f4908
parent b2411f3603df06f53de8b303dcccaeb62baac303
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Mon, 20 Jun 2016 00:31:51 +0200
Test::Sbotools: change order of cleaning up
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/t/Test/Sbotools.pm b/t/Test/Sbotools.pm
@@ -137,16 +137,16 @@ END {
if ($sbt) {
system(qw!rm -rf!, $sbtn);
}
+ if ($repo) {
+ system(qw! rm -rf /usr/sbo/repo !);
+ rename "$RealBin/repo.backup", "/usr/sbo/repo";
+ }
if ($tags) {
system(qw!rm -rf !, $tags_txt);
}
if ($tags == 2) {
rename "$tags_txt.bak", $tags_txt;
}
- if ($repo) {
- system(qw! rm -rf /usr/sbo/repo !);
- rename "$RealBin/repo.backup", "/usr/sbo/repo";
- }
}
1;