summaryrefslogtreecommitdiff
path: root/academic/gtkwave/gtkwave.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/gtkwave/gtkwave.SlackBuild')
-rw-r--r--academic/gtkwave/gtkwave.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/gtkwave/gtkwave.SlackBuild b/academic/gtkwave/gtkwave.SlackBuild
index c92e1069a6..b67aeffcbb 100644
--- a/academic/gtkwave/gtkwave.SlackBuild
+++ b/academic/gtkwave/gtkwave.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=gtkwave
VERSION=${VERSION:-3.3.51}
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}