From eb1d2a3f47feeb9fd9729eaf61dba6170daadfdb Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 17 Jan 2007 01:34:16 +0000 Subject: mod_python: small changes git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@974 370017ae-e619-0410-ac65-c121f96126d4 --- dev/python/mod_python/mod_python.build | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/dev/python/mod_python/mod_python.build b/dev/python/mod_python/mod_python.build index 0f290e44..52cead7c 100755 --- a/dev/python/mod_python/mod_python.build +++ b/dev/python/mod_python/mod_python.build @@ -21,7 +21,7 @@ fi PACKAGE="mod_python" VERSION=${VERSION:=2.7.11} ARCH="${ARCH:=x86_64}" -BUILD=${BUILD:=2rha} +BUILD=${BUILD:=3rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} @@ -50,12 +50,6 @@ if [ ! -d "$SRC_DIR" ]; then mkdir -p $SRC_DIR fi -if [ "$PACKAGE_EXT" == "bz2" ]; then - tarflag="j" -else - tarflag="z" -fi - if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi @@ -68,7 +62,7 @@ fi cd $TMP -tar xvf$tarflag $SRC_DIR/$SRC +tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR cd $PACKAGE-$VERSION if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then @@ -79,7 +73,7 @@ if [ -f "$CWD/$PACKAGE-$VERSION-$ARCH.diff" ]; then patch -p1 < $CWD/$PACKAGE-$VERSION-$ARCH.diff || exit $ERROR_PATCH fi -./configure +./configure || exit $ERROR_CONF # coxa, favor corrigir! if [ "$ARCH" == "x86_64" ]; then -- cgit v1.2.3