aboutsummaryrefslogtreecommitdiff
path: root/office/goldendict/goldendict.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/goldendict/goldendict.SlackBuild')
-rw-r--r--office/goldendict/goldendict.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/goldendict/goldendict.SlackBuild b/office/goldendict/goldendict.SlackBuild
index 1826c07859300..1dd1d19e6415f 100644
--- a/office/goldendict/goldendict.SlackBuild
+++ b/office/goldendict/goldendict.SlackBuild
@@ -26,6 +26,8 @@
# Contacts: Damien Goutte-Gattat <dgouttegattat@incenp.org> (original author)
# Andrey Butirsky <butirsky@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=goldendict
VERSION=${VERSION:-1.5.0_RC2}
SRCVER=$(echo $VERSION | tr _ -)
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}