From 17947e606686e402522e0e15b6a41f1fc20f4908 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 20 Jun 2016 00:31:51 +0200 Subject: Test::Sbotools: change order of cleaning up --- t/Test/Sbotools.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 't/Test/Sbotools.pm') 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; -- cgit v1.2.3