aboutsummaryrefslogtreecommitdiff
path: root/system/ipmitool/ipmitool.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ipmitool/ipmitool.SlackBuild')
-rw-r--r--system/ipmitool/ipmitool.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/ipmitool/ipmitool.SlackBuild b/system/ipmitool/ipmitool.SlackBuild
index 40d6d50542a6b..e633263fe98b2 100644
--- a/system/ipmitool/ipmitool.SlackBuild
+++ b/system/ipmitool/ipmitool.SlackBuild
@@ -11,6 +11,8 @@
# Modified by Mario Preksavec <mario@slackware.hr>
# Updated by Emmanuel N. Millan
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ipmitool
VERSION=${VERSION:-1.8.18}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}