aboutsummaryrefslogtreecommitdiff
path: root/academic/xcircuit/xcircuit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/xcircuit/xcircuit.SlackBuild')
-rw-r--r--academic/xcircuit/xcircuit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/xcircuit/xcircuit.SlackBuild b/academic/xcircuit/xcircuit.SlackBuild
index 32985878d6a5..96bd7419f95c 100644
--- a/academic/xcircuit/xcircuit.SlackBuild
+++ b/academic/xcircuit/xcircuit.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for grace
# Written by B. Jogai <jogaib {at} comcast [dot] net>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcircuit
VERSION=${VERSION:-3.7.54}
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}