Commit ec6f83a9 authored by Maxime Hubert's avatar Maxime Hubert
Browse files

fix condition in get archive

parent 79e7264a
Pipeline #137117 canceled with stage
......@@ -33,7 +33,7 @@ else
fi
archive=`ls`
if [ $name != "" ]; then
if [ $name == "" ]; then
python3 -c "import shutil; shutil.unpack_archive('${archive}'); print('Archive uncompressed')"
else
python3 -c "import shutil; shutil.unpack_archive('${archive}', '${name}'); print('Archive uncompressed')"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment