diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-06-20 00:31:51 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-06-20 00:31:51 +0200 |
commit | 17947e606686e402522e0e15b6a41f1fc20f4908 (patch) | |
tree | c3b7ceb63c7788476da3d50d66d58a00df19301a | |
parent | b2411f3603df06f53de8b303dcccaeb62baac303 (diff) | |
download | sbotools2-17947e606686e402522e0e15b6a41f1fc20f4908.tar.xz |
Test::Sbotools: change order of cleaning up
-rw-r--r-- | t/Test/Sbotools.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/Test/Sbotools.pm b/t/Test/Sbotools.pm index ec001b2..4cdd286 100644 --- 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; |