We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c86f7 commit 38a4513Copy full SHA for 38a4513
archive_fusionvm
@@ -49,9 +49,12 @@ while true; do
49
done
50
51
# Test that every VMX in the list has no lockfile; otherwise quit Fusion
52
-if false; then
53
- osascript -e 'tell application "VMware Fusion to quit'
54
-fi
+for vmx in $vmxlist; do
+ if [ -f "$vmx.lck" ]; then
+ osascript -e 'tell application "VMware Fusion" to quit'
55
+ break
56
+ fi
57
+done
58
59
# Create a compressed read-only .dmg. HFS+ seems to be smaller than APFS.
60
echo "Creating disk image"
0 commit comments