aboutsummaryrefslogtreecommitdiff
path: root/net/www
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-01-16 20:54:53 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-01-16 20:54:53 +0000
commit8526dea665fbbf2c6fd64b608077cbde234c5901 (patch)
treecabbf28e1d8d0419413a0f0153a174e36e781625 /net/www
parentd65cfcc5f1b54a8d0c0b325d34fe65ceae3f29a1 (diff)
downloadslackbuilds-8526dea665fbbf2c6fd64b608077cbde234c5901.tar.gz
slackbuilds-8526dea665fbbf2c6fd64b608077cbde234c5901.tar.bz2
mod_fastcgi: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@973 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/www')
-rwxr-xr-xnet/www/mod_fastcgi/mod_fastcgi.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/net/www/mod_fastcgi/mod_fastcgi.SlackBuild b/net/www/mod_fastcgi/mod_fastcgi.SlackBuild
index 315f0fe1..68545811 100755
--- a/net/www/mod_fastcgi/mod_fastcgi.SlackBuild
+++ b/net/www/mod_fastcgi/mod_fastcgi.SlackBuild
@@ -32,12 +32,6 @@ PACKAGE_EXT="gz"
SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
URL="http://fastcgi.com/dist/$SRC"
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
SRC_DIR="$SRC_DIR/$PACKAGE"
mkdir -p $SRC_DIR
@@ -45,21 +39,22 @@ if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
wget "$URL" -O "$SRC_DIR/$SRC"
fi
+TMP="$TMP/$PACKAGE"
+rm -rf $TMP
+mkdir -p $TMP
cd $TMP
+
rm -rf package-$PACKAGE
mkdir package-$PACKAGE
cd package-$PACKAGE
-tar xvf$tarflag $SRC_DIR/$SRC
+tar xvf $SRC_DIR/$SRC
cd $PACKAGE-$VERSION
apxs -o mod_fastcgi.so -c *.c
CWD="`pwd`"
-TMP="$TMP/$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
cd $TMP
mkdir -p usr/libexec/apache