network/mod_wsgi: Support alternate tarball name.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-20 01:22:17 +00:00 committed by Willy Sudiarto Raharjo
parent e3ece7f12a
commit 0789d5bf1b

View file

@ -56,8 +56,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
# Note: 4.x versions only have $VERSION in archive name
tar xvf $CWD/$VERSION.tar.gz
tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \