summaryrefslogtreecommitdiffstats
path: root/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xdgmenumaker/xdgmenumaker.SlackBuild')
-rw-r--r--desktop/xdgmenumaker/xdgmenumaker.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
index 9076a5ad64..a0603f9c33 100644
--- a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
+++ b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
@@ -18,6 +18,8 @@
# 20150914 bkw: updated 0.5 => 0.8. upstream now uses a Makefile
# instead of install.sh so this script can't build the old version.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xdgmenumaker
VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
@@ -26,7 +28,6 @@ TAG=${TAG:-_SBo}
# pure python, no compiled code at all
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}