aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmimedir/libmimedir.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmimedir/libmimedir.SlackBuild')
-rw-r--r--libraries/libmimedir/libmimedir.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libmimedir/libmimedir.SlackBuild b/libraries/libmimedir/libmimedir.SlackBuild
index 8277820b77d4..44e9b0505241 100644
--- a/libraries/libmimedir/libmimedir.SlackBuild
+++ b/libraries/libmimedir/libmimedir.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for libmimedir
# Written by redtricycle (redtricycle@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmimedir
VERSION=${VERSION:-0.5.1}
BUILD=${BUILD:-1}
@@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}