diff options
author | David Spencer <baildon.research@googlemail.com> | 2013-11-20 21:33:22 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-11-21 10:28:39 +0700 |
commit | 0553ee25e292fde96ec894159af59384f4772cb1 (patch) | |
tree | c9360090197c2c7763dcfc47c331abc74e7f7192 /python/tweepy | |
parent | 35a15bb5e9bc850b4720c3db89774c318ded5ebc (diff) | |
download | slackbuilds-0553ee25e292fde96ec894159af59384f4772cb1.tar.gz |
python/tweepy: Fixed for github tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/tweepy')
-rw-r--r-- | python/tweepy/tweepy.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/tweepy/tweepy.SlackBuild b/python/tweepy/tweepy.SlackBuild index 88026fc0af..fb8e1a81b9 100644 --- a/python/tweepy/tweepy.SlackBuild +++ b/python/tweepy/tweepy.SlackBuild @@ -61,7 +61,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$VERSION.tar.?z* +if [ -e $CWD/$PRGNAM-$VERSION.tar.?z* ]; then + tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* +else + tar xvf $CWD/$VERSION.tar.?z* +fi cd $PRGNAM-$VERSION chown -R root:root . find . \ |