summaryrefslogtreecommitdiffstats
path: root/system/lxrandr/lxrandr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/lxrandr/lxrandr.SlackBuild')
-rw-r--r--system/lxrandr/lxrandr.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/lxrandr/lxrandr.SlackBuild b/system/lxrandr/lxrandr.SlackBuild
index eb817930fe..8aa6673d40 100644
--- a/system/lxrandr/lxrandr.SlackBuild
+++ b/system/lxrandr/lxrandr.SlackBuild
@@ -54,6 +54,8 @@
#
# -----------------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lxrandr
VERSION=${VERSION:-0.3.2}
BUILD=${BUILD:-1}
@@ -67,7 +69,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}