aboutsummaryrefslogtreecommitdiff
path: root/misc/mdic/mdic.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mdic/mdic.SlackBuild')
-rw-r--r--misc/mdic/mdic.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/mdic/mdic.SlackBuild b/misc/mdic/mdic.SlackBuild
index 942131875ef96..f9849904a1728 100644
--- a/misc/mdic/mdic.SlackBuild
+++ b/misc/mdic/mdic.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for Mdic dictionary
#written by Mehdi Esmaeelpour ariarat@gmail.com www.slack-world.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mdic
VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-2}
@@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
if [ "$TMP" = "" ]; then
TMP=${TMP:-/tmp/SBo}
fi