mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/btpd: Fix github tarball handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
ff6e238905
commit
951b2e85a7
1 changed files with 6 additions and 1 deletions
|
@ -70,7 +70,12 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
# respecting content-disposition may include cgi params in the filename
|
||||
TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
|
||||
if [ ! -e $TARBALL ]; then
|
||||
TARBALL="$(/bin/ls $TARBALL\?* | head -1)"
|
||||
fi
|
||||
tar xvf $TARBALL
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
|
Loading…
Reference in a new issue