mskyaxl / wsl-terminal

Terminal emulator for Windows Subsystem for Linux (WSL)
MIT License
3.12k stars 160 forks source link

Install script does not handle directories with spaces correctly #191

Open tigger0jk opened 3 years ago

tigger0jk commented 3 years ago

Tried to install in "Program Files"

[pfay@DESKTOP-XXX Program Files (x86)]$ bash -c "$(wget https://raw.githubusercontent.com/mskyaxl/wsl-terminal/master/scripts/install.sh -qO -)" '' -t : line 19: cd: too many arguments

I think changing that line to cd "$scriptpath" might do it. Sorry don't have the time to test and do a PR right now

Works fine installing to a dir without spaces.

mskyaxl commented 3 years ago

thanks, It might be. I will check