summaryrefslogtreecommitdiffstats
path: root/libraries/glktermw/glktermw.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/glktermw/glktermw.SlackBuild')
-rw-r--r--libraries/glktermw/glktermw.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/glktermw/glktermw.SlackBuild b/libraries/glktermw/glktermw.SlackBuild
index effb13ff5e..9c386c3e32 100644
--- a/libraries/glktermw/glktermw.SlackBuild
+++ b/libraries/glktermw/glktermw.SlackBuild
@@ -26,6 +26,8 @@
# glk implementation) wants to install slightly different headers in
# the same place... so both get subdirectories.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=glktermw
VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}