aboutsummaryrefslogtreecommitdiff
path: root/misc/deroff
diff options
context:
space:
mode:
Diffstat (limited to 'misc/deroff')
-rw-r--r--misc/deroff/deroff.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/deroff/deroff.SlackBuild b/misc/deroff/deroff.SlackBuild
index 9bd3c63134f95..9d9a0adcad96d 100644
--- a/misc/deroff/deroff.SlackBuild
+++ b/misc/deroff/deroff.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=deroff
VERSION=${VERSION:-2.0}
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}