aboutsummaryrefslogtreecommitdiff
path: root/desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild')
-rw-r--r--desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild b/desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild
index 1285ee7cd19c..500657800ca8 100644
--- a/desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild
+++ b/desktop/slackware-xdg-menu/slackware-xdg-menu.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=slackware-xdg-menu
SRCNAM=arch-xdg-menu
VERSION=${VERSION:-0.7.6.2}
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}