aboutsummaryrefslogtreecommitdiff
path: root/misc/po4a/po4a.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/po4a/po4a.SlackBuild')
-rw-r--r--misc/po4a/po4a.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/po4a/po4a.SlackBuild b/misc/po4a/po4a.SlackBuild
index 2c4286542d272..bd1dd70698490 100644
--- a/misc/po4a/po4a.SlackBuild
+++ b/misc/po4a/po4a.SlackBuild
@@ -26,6 +26,8 @@
# usually, run it like this e.g.
# LC_ALL=en_US.utf8 ./po4a.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=po4a
VERSION=${VERSION:-0.63}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}