]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
mkbuild-1.0.1: correção a uma chamada errada à função de error
authorrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>
Thu, 2 Aug 2007 20:21:09 +0000 (20:21 +0000)
committerrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>
Thu, 2 Aug 2007 20:21:09 +0000 (20:21 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@410 04377dda-e619-0410-9926-eae83683ac58

trunk/src/mkbuild

index 60566dde5ba7aa6808cfa0cc982a5117b822a44a..21f345e24729aa8788c640321cebcc0c7b096744 100755 (executable)
@@ -18,8 +18,8 @@
 #
 # Based in model generic.SlackBuild of Luiz
 #
-# Version 1.0.0
-PROG_VERSION=1.0.0
+# Version 1.0.1
+PROG_VERSION=1.0.1
 PROG_NAME=`basename $0`
 
 #--------------------------------------------------------------------
@@ -572,7 +572,7 @@ if [ -f "$COMMON" ]; then
   source $COMMON
 else
   echo "error: file $COMMON found, check your $BASENAME installation"
-  mk_exit 0
+  mkbuild_error 0
 fi
 
 # Start constants
@@ -594,7 +594,7 @@ SLACKDESC_LEN=78
 # Load error codes
 error_codes
 
-[ $# -eq 0 ] && mk_exit $NULL_STRING
+[ $# -eq 0 ] && mkbuild_error $NULL_STRING
 
 # Configure input parameters
 set_parameters $@