aboutsummaryrefslogtreecommitdiff
path: root/graphics/tesseract
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tesseract')
-rw-r--r--graphics/tesseract/tesseract.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild
index fce86da051b8..eea85a1226ba 100644
--- a/graphics/tesseract/tesseract.SlackBuild
+++ b/graphics/tesseract/tesseract.SlackBuild
@@ -32,6 +32,8 @@
# Thanks to S+*n_Pe*rm*n for a bug report from OCRopus.
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tesseract
VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}