aboutsummaryrefslogtreecommitdiff
path: root/academic/verilog/verilog.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/verilog/verilog.SlackBuild')
-rw-r--r--academic/verilog/verilog.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/verilog/verilog.SlackBuild b/academic/verilog/verilog.SlackBuild
index 3fcefcb73b9f1..74d5d6cd6fe77 100644
--- a/academic/verilog/verilog.SlackBuild
+++ b/academic/verilog/verilog.SlackBuild
@@ -3,6 +3,8 @@
#Slackware build script for Icarus Verilog compiler
#Written by Stephen Van Berg stephen_van_berg@earlicker.com.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=verilog
VERSION=${VERSION:-0.9.7}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}