From 8663857fe8799ad580f4127b995e4635f525331d Mon Sep 17 00:00:00 2001 From: rudson Date: Fri, 11 Jan 2008 16:30:15 +0000 Subject: git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@483 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'trunk/lib') diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 1a6d406..2e36341 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -737,6 +737,8 @@ function error_codes { ERROR_MKBUILD_PROGRAM=502 ERROR_MKBUILD_INPUT_PAR=503 + # Mkpatch error codes + ERROR_MKPATCH=600 } function handle_error { @@ -794,8 +796,8 @@ function handle_error { eecho $error "$BASENAME: $2 need a number argument" ;; $ERROR_PAR_NUMBER) eecho $error "$BASENAME: incorrect number of parameters" ;; - $ERROR_COMMON_NOT_FOUND) - eecho $error "$BASENAME: file $COMMON_SH not found. Check your $BASENAME installation" ;; + #$ERROR_COMMON_NOT_FOUND) + # eecho $error "$BASENAME: file $COMMON_SH not found. Check your $BASENAME installation" ;; # # Createpkg errors @@ -815,6 +817,8 @@ function handle_error { $ERROR_MKBUILD_INPUT_PAR) eecho $error "$BASENAME: Input parameter $2 error. See \"mkbuild --help\"." ;; + $ERROR_MKPATCH) + eecho $error "$BASENAME: Mkpatch error. Check .mkbuild file." ;; # # Others errors *) -- cgit v1.2.3