libraries/muParser: Fix tarball handling.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
David Spencer 2016-06-05 19:22:36 +01:00 committed by Willy Sudiarto Raharjo
parent a4f1aee003
commit 0f6e7fd029
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with 2 additions and 2 deletions

View File

@ -62,12 +62,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCVER
rm -rf $SRCNAM-$VERSION
if [ -e $CWD/$SRCVER.tar.gz ]; then
tar xvf $CWD/$SRCVER.tar.gz
else
tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
fi
cd $SRCNAM-$VERSION