summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-20 21:20:02 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-21 10:28:37 +0700
commit86d0c277d935983115aa670898dca8542e2c3e36 (patch)
tree6e48bc143ef616f3f5715215d950b77ba8da417d /academic
parent6d0d3c3cdc0a26ddd709ad9bc440df3d8788f520 (diff)
downloadslackbuilds-86d0c277d935983115aa670898dca8542e2c3e36.tar.gz
academic/pgrouting: Fixed for github tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/pgrouting/pgrouting.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/academic/pgrouting/pgrouting.SlackBuild b/academic/pgrouting/pgrouting.SlackBuild
index 88a3b373e3..dbc17725d1 100644
--- a/academic/pgrouting/pgrouting.SlackBuild
+++ b/academic/pgrouting/pgrouting.SlackBuild
@@ -62,7 +62,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/v$VERSION.tar.gz
+if [ -e $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 . \