diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-19 23:38:21 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-20 23:59:30 +0700 |
commit | 57e8f4946243ceddb339521e08e208464cfc6726 (patch) | |
tree | 8f374145f4f2f91d14a998cfeafbabba41d097ba /python/python-ipcalc | |
parent | 8d48b4421183a399a80032e97072d0a32dc92f8e (diff) |
Multiple: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/python-ipcalc')
-rw-r--r-- | python/python-ipcalc/python-ipcalc.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/python-ipcalc/python-ipcalc.SlackBuild b/python/python-ipcalc/python-ipcalc.SlackBuild index 9d274df6fc0fa..9255fdcfa3380 100644 --- a/python/python-ipcalc/python-ipcalc.SlackBuild +++ b/python/python-ipcalc/python-ipcalc.SlackBuild @@ -62,8 +62,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +rm -rf $SRCNAM-$SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$SRCNAM-$VERSION chown -R root:root . find -L . \ |