diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/createpkg | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/createpkg b/src/createpkg index ce0b417..c0581a3 100644 --- a/src/createpkg +++ b/src/createpkg @@ -194,7 +194,13 @@ fi cd $SCRIPT_BASE INTERACT=no ./`basename $BUILD_SCRIPT` -# TODO: check slackbuild exit status code +# TODO: check slackbuild exit status code according to the following: +# +# ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 +# ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36 +# ERROR_TAR=37; ERROR_MKPKG=38 +# +# Thanks to Rudson rudsonalves at yahoo.com.br for this spec. VERSION="`grep -e '^VERSION=' $BUILD_SCRIPT | head -n 1 | sed -e "s/VERSION//g" -e 's/=//g' -e 's/-//g' | cut -d ":" -f 2 | cut -d "}" -f 1`" BUILD="`grep -e '^BUILD=' $BUILD_SCRIPT | head -n 1 | sed -e "s/BUILD//g" -e 's/=//g' | cut -d ":" -f 2 | cut -d "}" -f 1`" |