aboutsummaryrefslogtreecommitdiff
path: root/system/virt-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'system/virt-viewer')
-rw-r--r--system/virt-viewer/virt-viewer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/virt-viewer/virt-viewer.SlackBuild b/system/virt-viewer/virt-viewer.SlackBuild
index c286f9b6f7f6..9a4ad541c2a8 100644
--- a/system/virt-viewer/virt-viewer.SlackBuild
+++ b/system/virt-viewer/virt-viewer.SlackBuild
@@ -4,6 +4,8 @@
# Written by Zak B. Elep, <zakame@zakame.net>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=virt-viewer
VERSION=${VERSION:-10.0}
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}