aboutsummaryrefslogtreecommitdiff
path: root/office/scribus/scribus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/scribus/scribus.SlackBuild')
-rw-r--r--office/scribus/scribus.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/scribus/scribus.SlackBuild b/office/scribus/scribus.SlackBuild
index 1d8499ca6fda1..f264e31a2905a 100644
--- a/office/scribus/scribus.SlackBuild
+++ b/office/scribus/scribus.SlackBuild
@@ -26,6 +26,8 @@
# Modified by the SlackBuilds.org project
# Including input by Yalla-One and some code cleanup by rworkman
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scribus
VERSION=${VERSION:-1.5.6.1}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}