aboutsummaryrefslogtreecommitdiff
path: root/ham/xnec2c
diff options
context:
space:
mode:
Diffstat (limited to 'ham/xnec2c')
-rw-r--r--ham/xnec2c/xnec2c.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/ham/xnec2c/xnec2c.SlackBuild b/ham/xnec2c/xnec2c.SlackBuild
index 60d7460724021..9622fb4f679e2 100644
--- a/ham/xnec2c/xnec2c.SlackBuild
+++ b/ham/xnec2c/xnec2c.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=xnec2c
VERSION=${VERSION:-3.5.1}
BUILD=${BUILD:-2}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}