summaryrefslogtreecommitdiffstats
path: root/academic/ngspice/ngspice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/ngspice/ngspice.SlackBuild')
-rw-r--r--academic/ngspice/ngspice.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/ngspice/ngspice.SlackBuild b/academic/ngspice/ngspice.SlackBuild
index 49e1c982f4..4d28a289fe 100644
--- a/academic/ngspice/ngspice.SlackBuild
+++ b/academic/ngspice/ngspice.SlackBuild
@@ -6,6 +6,8 @@
# Set initial variables:
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ngspice
VERSION=${VERSION:-34}
BUILD=${BUILD:-5}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}