aboutsummaryrefslogtreecommitdiff
path: root/graphics/bdfedit/bdfedit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/bdfedit/bdfedit.SlackBuild')
-rw-r--r--graphics/bdfedit/bdfedit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/bdfedit/bdfedit.SlackBuild b/graphics/bdfedit/bdfedit.SlackBuild
index da696d0bda734..7b47e70432224 100644
--- a/graphics/bdfedit/bdfedit.SlackBuild
+++ b/graphics/bdfedit/bdfedit.SlackBuild
@@ -16,6 +16,8 @@
# Yes, this is old software that hasn't been maintained in 12+ years,
# but it works fine.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bdfedit
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
# no CFLAGS or LIBDIRSUFFIX needed here
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}