aboutsummaryrefslogtreecommitdiff
path: root/gis/python-mapnik/python-mapnik.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/python-mapnik/python-mapnik.SlackBuild')
-rw-r--r--gis/python-mapnik/python-mapnik.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/python-mapnik/python-mapnik.SlackBuild b/gis/python-mapnik/python-mapnik.SlackBuild
index 5137d74369a98..5cd290fc01179 100644
--- a/gis/python-mapnik/python-mapnik.SlackBuild
+++ b/gis/python-mapnik/python-mapnik.SlackBuild
@@ -21,6 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python-mapnik
VERSION=${VERSION:-3.0.16}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}