summaryrefslogtreecommitdiffstats
path: root/system/kexec-tools/kexec-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/kexec-tools/kexec-tools.SlackBuild')
-rw-r--r--system/kexec-tools/kexec-tools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/kexec-tools/kexec-tools.SlackBuild b/system/kexec-tools/kexec-tools.SlackBuild
index 8a4ade5778..6cd6363dae 100644
--- a/system/kexec-tools/kexec-tools.SlackBuild
+++ b/system/kexec-tools/kexec-tools.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for kexec-tools
# Written by powtrix (@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kexec-tools
VERSION=${VERSION:-2.0.21}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}