]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
createpkg: added error handling spec
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 6 Oct 2006 13:21:28 +0000 (13:21 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 6 Oct 2006 13:21:28 +0000 (13:21 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@16 04377dda-e619-0410-9926-eae83683ac58

src/createpkg

index ce0b4170a11e0d537cf1b82f564cba79ac85ca0b..c0581a39050c5e872ebb2de2cfc0d82849453aa5 100644 (file)
@@ -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`"