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

Bug: 'cd: too many arguments' if path has spaces #45

Closed
bryphe opened this issue Feb 16, 2019 · 0 comments · Fixed by #49
Closed

Bug: 'cd: too many arguments' if path has spaces #45

bryphe opened this issue Feb 16, 2019 · 0 comments · Fixed by #49

Comments

@bryphe
Copy link
Collaborator

bryphe commented Feb 16, 2019

This error happens if trying to run from a directory with spaces in it:

PS F:\User Files\Documents\Git\revery-quick-start> esy build
info esy build 0.5.6 (using package.json)
C:\Users\ryan\AppData\Local\Temp\__esy-bash__536100110__1__.sh: line 2: cd: too many arguments

We should be quoting the path here:
https://github.com/bryphe/esy-bash/blob/dd790b285119d13e0716880a893aa982eb8198d9/re/lib/EsyBashLib.re#L98

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

Successfully merging a pull request may close this issue.

1 participant