mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Erreur à la con...
This commit is contained in:
parent
76deb7437b
commit
01c48c9cf8
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,7 @@ if echo "$1" | grep -Eq "https?:\/\/"
|
||||||
then
|
then
|
||||||
GIT_PACKAGE=1
|
GIT_PACKAGE=1
|
||||||
git clone $1 "../$(basename $1)"
|
git clone $1 "../$(basename $1)"
|
||||||
APP_CHECK="$(basename $1)"
|
APP_CHECK="../$(basename $1)"
|
||||||
else
|
else
|
||||||
APP_CHECK="$1"
|
APP_CHECK="$1"
|
||||||
fi
|
fi
|
||||||
|
@ -372,3 +372,7 @@ TEST_RESULTS
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
rm debug_output temp_Test_results.log url_output
|
rm debug_output temp_Test_results.log url_output
|
||||||
|
|
||||||
|
if [ "$GIT_PACKAGE" -eq 1 ]; then
|
||||||
|
rm -r "$APP_CHECK"
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue