Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ActEV
diva_evaluation_cli
Commits
321cc94a
Commit
321cc94a
authored
May 27, 2021
by
Baptiste CHOCOT
Browse files
Exit 1 when unzipping fails
parent
3d361d63
Pipeline
#230575
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
diva_evaluation_cli/bin/private_src/implementation/get_system/get/get_archive.sh
View file @
321cc94a
...
...
@@ -34,6 +34,9 @@ fi
archive
=
`
ls
`
python3
-c
"import shutil; shutil.unpack_archive('
${
archive
}
'); print('Archive uncompressed')"
if
[[
$?
-ne
0
]]
;
then
exit
1
fi
rm
$archive
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment