aboutsummaryrefslogtreecommitdiff
path: root/system/cpulimit/cpulimit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/cpulimit/cpulimit.SlackBuild')
-rw-r--r--system/cpulimit/cpulimit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/cpulimit/cpulimit.SlackBuild b/system/cpulimit/cpulimit.SlackBuild
index 2b02af64ccfb8..5d9e66f58bb12 100644
--- a/system/cpulimit/cpulimit.SlackBuild
+++ b/system/cpulimit/cpulimit.SlackBuild
@@ -5,6 +5,8 @@
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
# update to v0.2 by clavisound
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cpulimit
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}