From 9c2229a6d5fd623a09a3a8fa9a0f49d3981b8a0e Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 4 Jan 2008 20:44:44 +0000 Subject: simplepkg 0.6pre16: mkbuild small fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@482 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/mkbuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'trunk/src') diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index 38cc78d..cddfa5d 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -616,7 +616,11 @@ function load_parameters { # Load Createpkg parameters SLACKBUILDS_DIR="`eval_parameter SLACKBUILDS_DIR /var/simplaret/slackbuilds`" + [ ! -d $SLACKBUILDS_DIR ] && mkdir -p $SLACKBUILDS_DIR + MKBUILDS_DIR="`eval_parameter MKBUILDS_DIR /var/simplaret/mkbuilds`" + [ ! -d $SLACKBUILDS_DIR ] && mkdir -p $SLACKBUILDS_DIR + SLACKBUILDS_SVN="`eval_parameter SLACKBUILDS_DIR svn://slack.sarava.org/slackbuilds`" MKBUILDS_SVN="`eval_parameter MKBUILDS_SVN svn://slack.sarava.org/mkbuilds`" @@ -806,6 +810,7 @@ case $ACTION in # SlackBuild path # SlackBuild path in mkbuild parameters file + SLACKBUILD=${PKG_NAME}.SlackBuild SLACKBUILD_PATH=`get_slackbuild_path` [ $VERBOSE -eq $on ] && echo "[[SLACKBUILD PATH]]=\"$SLACKBUILD_PATH\"" @@ -813,7 +818,6 @@ case $ACTION in #- Start build SlackBuild - #-------------------------------------------------------------- [ $VERBOSE -eq $on ] && echo -e "\nStart SlackBuild make" - SLACKBUILD=${PKG_NAME}.SlackBuild SLACKBUILD_TEMP=$SLACKBUILD.tmp cp $MODEL_DIR/$MODEL $SLACKBUILD_TEMP -- cgit v1.2.3