aboutsummaryrefslogtreecommitdiff
path: root/graphics/VariCAD/VariCAD.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/VariCAD/VariCAD.SlackBuild')
-rw-r--r--graphics/VariCAD/VariCAD.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/VariCAD/VariCAD.SlackBuild b/graphics/VariCAD/VariCAD.SlackBuild
index 1b922ddde3b27..95c3a16500ad8 100644
--- a/graphics/VariCAD/VariCAD.SlackBuild
+++ b/graphics/VariCAD/VariCAD.SlackBuild
@@ -26,6 +26,8 @@
# Written with inspiration from the OpenOffice.org SlackBuild, so thanks to Robby Workman :)
# Revision date: 2013/03/29
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=VariCAD
VERSION=${VERSION:-2013_2.01}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}