summaryrefslogtreecommitdiff
path: root/system/bonnie++/bonnie++.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/bonnie++/bonnie++.SlackBuild')
-rw-r--r--system/bonnie++/bonnie++.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/bonnie++/bonnie++.SlackBuild b/system/bonnie++/bonnie++.SlackBuild
index eaf4a80faf..4047df19df 100644
--- a/system/bonnie++/bonnie++.SlackBuild
+++ b/system/bonnie++/bonnie++.SlackBuild
@@ -4,6 +4,8 @@
# Written by Vincent Batts <vbatts@hashbangbash.com>
# Modified by Michiel van Wessem <michiel@slackbuils.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bonnie++
VERSION=${VERSION:-1.04}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}