summaryrefslogtreecommitdiffstats
path: root/desktop/openbox/openbox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/openbox/openbox.SlackBuild')
-rw-r--r--desktop/openbox/openbox.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/openbox/openbox.SlackBuild b/desktop/openbox/openbox.SlackBuild
index 9399c83da6..1e10665e83 100644
--- a/desktop/openbox/openbox.SlackBuild
+++ b/desktop/openbox/openbox.SlackBuild
@@ -28,6 +28,8 @@
# Patch for converting openbox-xdg-autostart from python2 to python3
# is prepared by Igor Alexandrov <igor.alexandrov@outlook.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openbox
VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-1}
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}