aboutsummaryrefslogtreecommitdiff
path: root/system/qemu/qemu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/qemu/qemu.SlackBuild')
-rw-r--r--system/qemu/qemu.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index 824fe9efccbf1..464878f93138e 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -58,6 +58,8 @@
# 6.1 19-AUG-2019 version update
# 6.2 16-Nov-2020 version update, 14.2 final release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qemu
VERSION=${VERSION:-6.0.0}
SRCVER=$(echo $VERSION | tr _ - )
@@ -78,7 +80,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}