summaryrefslogtreecommitdiffstats
path: root/system/spice-guest-tools/spice-guest-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/spice-guest-tools/spice-guest-tools.SlackBuild')
-rw-r--r--system/spice-guest-tools/spice-guest-tools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/spice-guest-tools/spice-guest-tools.SlackBuild b/system/spice-guest-tools/spice-guest-tools.SlackBuild
index 47aab09a34..07ff3fa4ac 100644
--- a/system/spice-guest-tools/spice-guest-tools.SlackBuild
+++ b/system/spice-guest-tools/spice-guest-tools.SlackBuild
@@ -22,6 +22,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=spice-guest-tools
VERSION=${VERSION:-0.141}
VERSION_VIRTIO="0.1.$( echo $VERSION | rev | cut -f1 -d. | rev )"
@@ -30,7 +32,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}