aboutsummaryrefslogtreecommitdiff
path: root/system/open-vm-tools/open-vm-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/open-vm-tools/open-vm-tools.SlackBuild')
-rw-r--r--system/open-vm-tools/open-vm-tools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/open-vm-tools/open-vm-tools.SlackBuild b/system/open-vm-tools/open-vm-tools.SlackBuild
index 6e6374587b64..beb234d8cf64 100644
--- a/system/open-vm-tools/open-vm-tools.SlackBuild
+++ b/system/open-vm-tools/open-vm-tools.SlackBuild
@@ -23,6 +23,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=open-vm-tools
VERSION=${VERSION:-10.2.0_7253323} # Remember to change VERSION - to _ !!!
BUILD=${BUILD:-2}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}