aboutsummaryrefslogtreecommitdiff
path: root/system/virt-viewer/virt-viewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/virt-viewer/virt-viewer.SlackBuild')
-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 c286f9b6f7f65..9a4ad541c2a83 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}