Commit 6ee23ecc authored by Vitaly Lipatov's avatar Vitaly Lipatov Committed by Vitaly Lipatov

rpmgs: return correct status if download failed

parent 7a60063a
......@@ -146,7 +146,7 @@ function get_zip()
get_archive zip || return
mkdir $WEXT.zip.dir || return
cd $WEXT.zip.dir
unzip -q ../$WEXT.zip && tar cf ../$WEXT.tar . && bzipit ../$WEXT.tar
unzip -q ../$WEXT.zip && tar cf ../$WEXT.tar . && bzipit ../$WEXT.tar || return
cd ..
rm -rf $WEXT.zip.dir
}
......
Markdown is supported
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