diff options
author | David Spencer <baildon.research@googlemail.com> | 2013-11-24 22:25:50 +0000 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-25 18:19:38 +0100 |
commit | 3c0e7946d5aa613159d753573e62accbf31c1c7f (patch) | |
tree | d84f9e54a2db94377b220d0f6356695670b3ffe2 | |
parent | 23720451790a96aab65b72457597288ecbe0c6f0 (diff) | |
download | slackbuilds-3c0e7946d5aa613159d753573e62accbf31c1c7f.tar.gz |
system/makeself: Fixed for github tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/makeself/makeself.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/makeself/makeself.SlackBuild b/system/makeself/makeself.SlackBuild index 7699629e25..c053ab7511 100644 --- a/system/makeself/makeself.SlackBuild +++ b/system/makeself/makeself.SlackBuild @@ -40,7 +40,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-release-$VERSION -tar zxvf $CWD/release-${VERSION}.tar.gz +if [ -e $CWD/release-${VERSION}.tar.gz ]; then + tar xvf $CWD/release-${VERSION}.tar.gz +else + tar xvf $CWD/$PRGNAM-release-${VERSION}.tar.gz +fi cd $PRGNAM-release-$VERSION chown -R root:root . find -L . \ |