aboutsummaryrefslogtreecommitdiff
path: root/accessibility/mag/mag.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/mag/mag.SlackBuild')
-rw-r--r--accessibility/mag/mag.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/accessibility/mag/mag.SlackBuild b/accessibility/mag/mag.SlackBuild
index 74942bd1f07bf..da857f225596c 100644
--- a/accessibility/mag/mag.SlackBuild
+++ b/accessibility/mag/mag.SlackBuild
@@ -8,6 +8,8 @@
# VERSION comes from the last modified date on the homepage.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mag
VERSION=${VERSION:-20100913}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}