diff options
author | David Spencer <baildon.research@googlemail.com> | 2013-11-17 00:00:21 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-16 22:57:11 -0600 |
commit | 848ab93b7180132444240b62eba4e78641c175be (patch) | |
tree | 020c3e91398046fb6ac85555c579683c07590247 | |
parent | 5b72002ce8ebfec2fc4ea08a11bd988ef4c2e227 (diff) |
libraries/luaevent: Fixed for github tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | libraries/luaevent/luaevent.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/luaevent/luaevent.SlackBuild b/libraries/luaevent/luaevent.SlackBuild index 571cb0444fe94..870ae902a882e 100644 --- a/libraries/luaevent/luaevent.SlackBuild +++ b/libraries/luaevent/luaevent.SlackBuild @@ -61,7 +61,11 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION -tar xvf $CWD/v$VERSION.tar.gz +if [ -f $CWD/v$VERSION.tar.gz ]; then + tar xvf $CWD/v$VERSION.tar.gz +else + tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +fi cd $PRGNAM-$VERSION chown -R root:root . find . \ |