aboutsummaryrefslogtreecommitdiff
path: root/graphics/teighaviewer
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/teighaviewer')
-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 a0a0ddafb809..db26a250e777 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}