aboutsummaryrefslogtreecommitdiff
path: root/office/notmuch/notmuch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/notmuch/notmuch.SlackBuild')
-rw-r--r--office/notmuch/notmuch.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/notmuch/notmuch.SlackBuild b/office/notmuch/notmuch.SlackBuild
index d50fbf94a6f8..89c9f32e8d0b 100644
--- a/office/notmuch/notmuch.SlackBuild
+++ b/office/notmuch/notmuch.SlackBuild
@@ -24,6 +24,8 @@
# Written by Jostein Berntsen <jvbernts@online.no>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=notmuch
VERSION=${VERSION:-0.28.2}
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}