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

fix get archive when name arg is equal to name of the archive

parent 0d49d3c3
Pipeline #137675 passed with stage
in 32 seconds
......@@ -37,8 +37,9 @@ python3 -c "import shutil; shutil.unpack_archive('${archive}'); print('Archive u
rm $archive
if [ $name != "" ]; then
package=`ls`
package=`ls`
if [ $name != "" ] && [ $name != $package ]; then
mv $package $name
fi
......
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