diff options
Diffstat (limited to 'academic/g3data')
-rw-r--r-- | academic/g3data/g3data.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/academic/g3data/g3data.SlackBuild b/academic/g3data/g3data.SlackBuild index c188881d18..c877a3fe84 100644 --- a/academic/g3data/g3data.SlackBuild +++ b/academic/g3data/g3data.SlackBuild @@ -71,7 +71,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 . \ |