libraries/muParser: Fix tarball handling.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
parent
a4f1aee003
commit
0f6e7fd029
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue