Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=91eb51f3f47c4db2107b30c10aca67106307d5ec
commit 91eb51f3f47c4db2107b30c10aca67106307d5ec Author: András VöröskÅi <voros...@frugalware.org> Date: Sun Jun 14 21:37:54 2009 +0200 fix unzip hack part, thx vmiklos diff --git a/source/include/util.sh b/source/include/util.sh index 496b81c..e49b7df 100644 --- a/source/include/util.sh +++ b/source/include/util.sh @@ -1196,9 +1196,10 @@ Fextract() { if [ "$cmd" != "" ]; then msg " $cmd" $cmd - if [ $? -ne 0 ]; then + ret = $? + if [ $ret -ne 0 ]; then # unzip will return a 1 as a warning, it is not an error - if [ "$unziphack" != "1" -o $? -ne 1 ]; then + if [ "$unziphack" != "1" -o $ret -ne 1 ]; then error "Failed to extract ${file}" msg "Aborting..." Fdie
_______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git