aboutsummaryrefslogtreecommitdiff
path: root/development/perf/perf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/perf/perf.SlackBuild')
-rw-r--r--development/perf/perf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/perf/perf.SlackBuild b/development/perf/perf.SlackBuild
index b13cd66bc7a6..72022eb4c984 100644
--- a/development/perf/perf.SlackBuild
+++ b/development/perf/perf.SlackBuild
@@ -26,6 +26,8 @@
# version and allow the user to override it. Avoids having this build
# break every time Pat releases a new kernel in patches/.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perf
# This VERSION is actually a dummy. Use KERNEL to set the version.
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}