summaryrefslogtreecommitdiffstats
path: root/misc/stardict-tools/stardict-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/stardict-tools/stardict-tools.SlackBuild')
-rw-r--r--misc/stardict-tools/stardict-tools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/stardict-tools/stardict-tools.SlackBuild b/misc/stardict-tools/stardict-tools.SlackBuild
index a994cee8f5..67dbae1363 100644
--- a/misc/stardict-tools/stardict-tools.SlackBuild
+++ b/misc/stardict-tools/stardict-tools.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for stardict-tools
# Written by Cezary M. Kruk (c.kruk@bigfoot.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=stardict-tools
VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}