wok-4.x diff mingw32-gcc/receipt @ rev 8615
Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 14 19:09:46 2011 +0100 (2011-02-14) |
parents | 49e501a55595 |
children | fd43246b4613 |
line diff
1.1 --- a/mingw32-gcc/receipt Sat Jul 10 09:37:09 2010 +0200 1.2 +++ b/mingw32-gcc/receipt Mon Feb 14 19:09:46 2011 +0100 1.3 @@ -25,7 +25,7 @@ 1.4 { 1.5 if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then 1.6 echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string" 1.7 - exit 1 1.8 + return 1 1.9 fi 1.10 1.11 MINGW32_DIR="$PWD" 1.12 @@ -47,7 +47,7 @@ 1.13 else 1.14 # Exit if file not found to avoid errors. 1.15 echo -e "\nDownload of $gcc_tgz failed, exiting. Please check the URL.\n" 1.16 - exit 1 1.17 + return 1 1.18 fi 1.19 done 1.20