aboutsummaryrefslogtreecommitdiff
path: root/office/mdbtools/mdbtools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/mdbtools/mdbtools.SlackBuild')
-rw-r--r--office/mdbtools/mdbtools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/mdbtools/mdbtools.SlackBuild b/office/mdbtools/mdbtools.SlackBuild
index bc22b86184f3..6b4782958c3f 100644
--- a/office/mdbtools/mdbtools.SlackBuild
+++ b/office/mdbtools/mdbtools.SlackBuild
@@ -24,6 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mdbtools
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}