summaryrefslogtreecommitdiffstats
path: root/graphics/xcalib/xcalib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xcalib/xcalib.SlackBuild')
-rw-r--r--graphics/xcalib/xcalib.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xcalib/xcalib.SlackBuild b/graphics/xcalib/xcalib.SlackBuild
index 00204f6153..f96389d8d8 100644
--- a/graphics/xcalib/xcalib.SlackBuild
+++ b/graphics/xcalib/xcalib.SlackBuild
@@ -8,6 +8,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcalib
VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}