aboutsummaryrefslogtreecommitdiff
path: root/development/mads/mads.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mads/mads.SlackBuild')
-rw-r--r--development/mads/mads.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/mads/mads.SlackBuild b/development/mads/mads.SlackBuild
index 0c263351d5b68..b1ffaee2a3eeb 100644
--- a/development/mads/mads.SlackBuild
+++ b/development/mads/mads.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mads
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}