From 01c48c9cf828b25faba25fa7ba6c6886308e8342 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Wed, 29 Jun 2016 00:23:43 +0200 Subject: [PATCH] =?UTF-8?q?Erreur=20=C3=A0=20la=20con...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package_check.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package_check.sh b/package_check.sh index 481dfd0..be17063 100755 --- a/package_check.sh +++ b/package_check.sh @@ -25,7 +25,7 @@ if echo "$1" | grep -Eq "https?:\/\/" then GIT_PACKAGE=1 git clone $1 "../$(basename $1)" - APP_CHECK="$(basename $1)" + APP_CHECK="../$(basename $1)" else APP_CHECK="$1" fi @@ -372,3 +372,7 @@ TEST_RESULTS # Clean rm debug_output temp_Test_results.log url_output + +if [ "$GIT_PACKAGE" -eq 1 ]; then + rm -r "$APP_CHECK" +fi