aboutsummaryrefslogtreecommitdiff
path: root/graphics/hp2xx/hp2xx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hp2xx/hp2xx.SlackBuild')
-rw-r--r--graphics/hp2xx/hp2xx.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/hp2xx/hp2xx.SlackBuild b/graphics/hp2xx/hp2xx.SlackBuild
index cc95f66ee9066..469d449f74b7e 100644
--- a/graphics/hp2xx/hp2xx.SlackBuild
+++ b/graphics/hp2xx/hp2xx.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hp2xx
VERSION=${VERSION:-3.4.4}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}