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() ...@@ -146,7 +146,7 @@ function get_zip()
get_archive zip || return get_archive zip || return
mkdir $WEXT.zip.dir || return mkdir $WEXT.zip.dir || return
cd $WEXT.zip.dir 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 .. cd ..
rm -rf $WEXT.zip.dir 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