1 --- VMware-player-16.1.2.17966106/install.sh.orig 2021-10-02 16:18:51.036146585 +0200
2 +++ VMware-player-16.1.2.17966106/install.sh 2021-10-02 16:19:43.259477667 +0200
3 @@ -18,7 +18,7 @@ if [ -z "$BASH" ]; then
6 # dash flips out of $opts is quoted, so don't.
7 - exec /usr/bin/env bash $opts "$SOURCE" "$@"
8 + exec /usr/bin/env bash $opts "$0" "$@"
9 echo "Unable to restart with bash shell"
12 @@ -85,7 +85,7 @@ on_exit() {
20 # Retrives and sets the various lengths that are extracted from the
21 @@ -182,7 +182,7 @@ is_relative() {
25 - VMIS_TEMP=`mktemp -d /tmp/vmis.XXXXXX`
30 @@ -206,7 +206,7 @@ extract_self() {
33 extract_prepayload() {
34 - PREPAYLOAD=`mktemp -d /tmp/vmis.XXXXXX`
38 if [ ! -d "$PREPAYLOAD" ]; then
39 @@ -575,6 +575,7 @@ main() {
43 + if [ ! -d install ]; then
44 if ! set_lengths "$SOURCE"; then
45 echo "Unable to extract lengths from bundle."
47 @@ -582,6 +583,9 @@ main() {
55 install "$VMIS_TEMP" "$help" "$fullpath" "$extract" "$@"