aboutsummaryrefslogtreecommitdiff
path: root/office/mdp/mdp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/mdp/mdp.SlackBuild')
-rw-r--r--office/mdp/mdp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/mdp/mdp.SlackBuild b/office/mdp/mdp.SlackBuild
index 11c5938da2d2e..494ee52a2637c 100644
--- a/office/mdp/mdp.SlackBuild
+++ b/office/mdp/mdp.SlackBuild
@@ -23,6 +23,8 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mdp
VERSION=${VERSION:-1.0.9}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}