summaryrefslogtreecommitdiffstats
path: root/office/pstotext/pstotext.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/pstotext/pstotext.SlackBuild')
-rw-r--r--office/pstotext/pstotext.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/pstotext/pstotext.SlackBuild b/office/pstotext/pstotext.SlackBuild
index 23bfe1aa20..dd1de57f46 100644
--- a/office/pstotext/pstotext.SlackBuild
+++ b/office/pstotext/pstotext.SlackBuild
@@ -6,6 +6,8 @@
# Modified by Robby Workman - http://rlworkman.net
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pstotext
VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}