aboutsummaryrefslogtreecommitdiff
path: root/desktop/mcwm/mcwm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/mcwm/mcwm.SlackBuild')
-rw-r--r--desktop/mcwm/mcwm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/mcwm/mcwm.SlackBuild b/desktop/mcwm/mcwm.SlackBuild
index 5c3d4592b35f..142441d15d7f 100644
--- a/desktop/mcwm/mcwm.SlackBuild
+++ b/desktop/mcwm/mcwm.SlackBuild
@@ -37,6 +37,8 @@
# - Fix compiler warning about asprintf().
# - Minor script cleanups/simplifications.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mcwm
VERSION=${VERSION:-20130209_2}
SRCVER=${VERSION/_/-}
@@ -51,7 +53,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}