aboutsummaryrefslogtreecommitdiff
path: root/ham/dxcc/dxcc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ham/dxcc/dxcc.SlackBuild')
-rw-r--r--ham/dxcc/dxcc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ham/dxcc/dxcc.SlackBuild b/ham/dxcc/dxcc.SlackBuild
index d73d3905716c..69d32c504c06 100644
--- a/ham/dxcc/dxcc.SlackBuild
+++ b/ham/dxcc/dxcc.SlackBuild
@@ -20,6 +20,8 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dxcc
VERSION=${VERSION:-20191204}
BUILD=${BUILD:-2}
@@ -27,7 +29,6 @@ TAG=${TAG:-_SBo}
# This is a Perl script, architecture agnostic
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}