Skip to content
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

fixUSB.sh fails when run in a directory with spaces in it #21

Open
sparagi opened this issue Jul 15, 2019 · 0 comments
Open

fixUSB.sh fails when run in a directory with spaces in it #21

sparagi opened this issue Jul 15, 2019 · 0 comments

Comments

@sparagi
Copy link

sparagi commented Jul 15, 2019

I cloned Fix-usb- sleep from https://github.com/syscl/Fix-usb-sleep into my usual stash of installers. The path to this stash has spaces in the name (e.g./Users/Shared/X Department X/Fix-usb-sleep). I got this output:

./fixUSB.sh: line 138: [: too many arguments
[ OK ] Generate configuration file of sleepwatcher launch daemon.
[ OK ] Generate script to load RTWlanUSB upon sleep.
[ ---> ] Installing external devices sleep patch...
[FAILED] Department.
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
[ OK ] Install configuration of sleepwatcher daemon.
[ OK ] Install sleep script.
[ OK ] Install wake script.
[ OK ] Fix the permissions of /etc/sysclusbfix.sleep.
[ OK ] Fix the permissions of /etc/sysclusbfix.wake.
[ OK ] Trigger startup service of syscl.usb.fix.
[ OK ] Clean up.
[ Note ] DONE! Sleep to see change.
[ Note ] Feel free to post issue on https://github.com/syscl/Fix-usb-sleep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant