-
Notifications
You must be signed in to change notification settings - Fork 7
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
./bootstrap.sh throws error #19
Comments
So it was missing a hashbang and so if you were running it from zsh maybe it was not the correct syntax. Current master should force it to run as a bash script. Otherwise you could try running it as "bash bootstrap.sh" |
I tried "bash bootstrap.sh" after pulling the latest code. Got a very similar error:
I get the same when running from iTerm (zsh) or Terminal. But tbh Im not a terminal wizard so maybe something could be wrong with my |
Weird, I think this must be a problem with your git checkout. After seeing that it's complaining about "command not found" on empty lines, on a hunch I tried the following and got similar errors to you:
so it seems that your git checkout has the wrong line endings (should be unix LF format, but git is converting it to CRLF). Any reason on your system that would happen? It's usually a Windows problem, not mac, so it's surprising. Does your git configuration have auto.crlf set?
Does the script work for you if you change the line endings to unix?
You'll need dos2unix installed (eg via homebrew) of course.. otherwise you can try,
instead. |
When running
./bootstrap.sh
on a fresh clone, this error is produced:System:
Model Name: MacBook Pro
Model Identifier: MacBookPro13,3
Processor Name: Intel Core i7
Processor Speed: 2.7 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 16 GB
Boot ROM Version: 251.0.0.0.0
SMC Version (system): 2.38f7
macOS 10.14.3 Mojave
The text was updated successfully, but these errors were encountered: