aboutsummaryrefslogtreecommitdiff
path: root/graphics/teighaviewer/teighaviewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/teighaviewer/teighaviewer.SlackBuild')
-rw-r--r--graphics/teighaviewer/teighaviewer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/teighaviewer/teighaviewer.SlackBuild b/graphics/teighaviewer/teighaviewer.SlackBuild
index a0a0ddafb8092..db26a250e7771 100644
--- a/graphics/teighaviewer/teighaviewer.SlackBuild
+++ b/graphics/teighaviewer/teighaviewer.SlackBuild
@@ -32,6 +32,8 @@
# several other versions newer than 4.00.0, utter failure. See
# README_maintainer.txt for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=teighaviewer
VERSION=${VERSION:-4.00.0}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ ARCH=i586
ORIG_PRGNAM=TeighaViewer
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}