aboutsummaryrefslogtreecommitdiff
path: root/system/fio/fio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fio/fio.SlackBuild')
-rw-r--r--system/fio/fio.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/fio/fio.SlackBuild b/system/fio/fio.SlackBuild
index 189d7d2be9a0b..968b080e4c3db 100644
--- a/system/fio/fio.SlackBuild
+++ b/system/fio/fio.SlackBuild
@@ -23,6 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fio
VERSION=${VERSION:-3.23}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}