From 0553ee25e292fde96ec894159af59384f4772cb1 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 20 Nov 2013 21:33:22 +0000 Subject: python/tweepy: Fixed for github tarball. Signed-off-by: Willy Sudiarto Raharjo --- python/tweepy/tweepy.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python/tweepy/tweepy.SlackBuild') 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 . \ -- cgit v1.2.3