-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shart.sh bug #49
Comments
Now, this sh script is running pretty well on my machine |
Please submit a PR with it, thanks! |
I submitted a PR |
This is probably a symptom of WSL (Windows Subsystem for Linux) bash vs git bash. If you have WSL installed on Windows 10 then the WSL bash is first in the path and the mountpoint for the C drive is different than what git bash has. I don't know why we can't all get along: /c /mnt/c /cygdrive/c 🙄 If you use: |
Your script code, run with |
1.Path error
export PATH="$PATH:/mnt/c/Program Files (x86)/VMware/VMware Workstation"
should be changed to
export PATH="$PATH:/c/Program Files (x86)/VMware/VMware Workstation"
2.Syntax error
vmrun.exe list | grep \""${VM}"\" &> /dev/null
should be changed to
vmrun.exe list | grep "${VM}" &> /dev/null
This full code:
The text was updated successfully, but these errors were encountered: