summaryrefslogtreecommitdiff
path: root/python/tweepy/tweepy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/tweepy/tweepy.SlackBuild')
-rw-r--r--python/tweepy/tweepy.SlackBuild6
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 . \