mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/muParser: Fix tarball handling.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
parent
a4f1aee003
commit
0f6e7fd029
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue