mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
8b3cd773ff
This is only a cosmetic change, so there's no need to reinstall your installation(s).
27 lines
607 B
Bash
27 lines
607 B
Bash
#!/bin/sh
|
|
#
|
|
# Run vmware
|
|
#
|
|
# $FreeBSD$
|
|
|
|
if [ ! -e @@LINUXBASE@@/proc/cpuinfo ]; then
|
|
echo "************************************************************"
|
|
echo "It seems Linux procfs is not mounted on @@LINUXBASE@@/proc."
|
|
echo "VMware does not work without Linux procfs mounted."
|
|
echo
|
|
echo "For details, see linprocfs(5) manpage."
|
|
echo "************************************************************"
|
|
exit 1
|
|
fi
|
|
|
|
LANG=C
|
|
PATH=/bin:$PATH
|
|
|
|
if [ _$TMPDIR = _ ]; then
|
|
TMPDIR=/var/tmp
|
|
echo Setting TMPDIR="$TMPDIR".
|
|
export TMPDIR
|
|
fi
|
|
|
|
exec @@PREFIX@@/lib/vmware/bin/vmware "$@"
|