aboutsummaryrefslogtreecommitdiff
path: root/system/kmscon/kmscon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/kmscon/kmscon.SlackBuild')
-rw-r--r--system/kmscon/kmscon.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/kmscon/kmscon.SlackBuild b/system/kmscon/kmscon.SlackBuild
index 1ab70b3d172a..07578e40e0d0 100644
--- a/system/kmscon/kmscon.SlackBuild
+++ b/system/kmscon/kmscon.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kmscon
VERSION=${VERSION:-8}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}