summaryrefslogtreecommitdiffstats
path: root/system/bochs/bochs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/bochs/bochs.SlackBuild')
-rw-r--r--system/bochs/bochs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/bochs/bochs.SlackBuild b/system/bochs/bochs.SlackBuild
index bdf18280fd..8d5b1b1a03 100644
--- a/system/bochs/bochs.SlackBuild
+++ b/system/bochs/bochs.SlackBuild
@@ -32,6 +32,8 @@
# New upstream version (2.6.8). You can now override most of the
# configure options on the command line.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bochs
VERSION=${VERSION:-2.6.8}
BUILD=${BUILD:-1}
@@ -95,7 +97,6 @@ if [ "$SDL" = "yes" -a "$SDL2" = "yes" ]; then
SDL2=no
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}