diff options
Diffstat (limited to 'gis/osm2pgsql/osm2pgsql.SlackBuild')
-rw-r--r-- | gis/osm2pgsql/osm2pgsql.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gis/osm2pgsql/osm2pgsql.SlackBuild b/gis/osm2pgsql/osm2pgsql.SlackBuild index 49d3ea9b44..12e49a9834 100644 --- a/gis/osm2pgsql/osm2pgsql.SlackBuild +++ b/gis/osm2pgsql/osm2pgsql.SlackBuild @@ -22,8 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=osm2pgsql -SRCVER=${SRCVER:-0.94.0-RC2} -VERSION=`echo $SRCVER | tr "[A-Z]" "[a-z]" | tr -d "-"` +VERSION=${VERSION:-0.94.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +58,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz -cd $PRGNAM-$SRCVER +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ |