summaryrefslogtreecommitdiffstats
path: root/academic/abntex/abntex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/abntex/abntex.SlackBuild')
-rw-r--r--academic/abntex/abntex.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/abntex/abntex.SlackBuild b/academic/abntex/abntex.SlackBuild
index f892d72f56..6cb1b45e55 100644
--- a/academic/abntex/abntex.SlackBuild
+++ b/academic/abntex/abntex.SlackBuild
@@ -24,6 +24,8 @@
# Slightly modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=abntex
VERSION=${VERSION:-0.9_beta2}
ARCH=noarch
@@ -33,7 +35,6 @@ TAG=${TAG:-_SBo}
MAJOR=$(echo $VERSION | cut -d _ -f 1)
MINOR=$(echo $VERSION | cut -d _ -f 2)
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}