You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error like the following on a number of opam subcommands (switch create, install, upgrade).
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `rm -rf /Users/ryanartecona/Dropbox (Personal)/Code/Web/ryanartecona.github.io/example/_opam/.opam-switch/build/ocaml-system.4.12.0'
Switch initialisation failed: clean up? ('n' will leave the
switch partially installed) [Y/n] n
Cannot remove /Users/ryanartecona/Dropbox (Personal)/Code/Web/ryanartecona.github.io/example/_opam/.opam-switch/build/ocaml-system.4.12.0 (error 2).
This seems to be caused by OpamSystem.remove_dir running an rm -rf dir command without quoting the dir. With a space anywhere in the path, the shell splits the argument into 2 (and in my case chokes on a ( that follows the space).
I get an error like the following on a number of opam subcommands (switch create, install, upgrade).
This seems to be caused by
OpamSystem.remove_dir
running anrm -rf dir
command without quoting the dir. With a space anywhere in the path, the shell splits the argument into 2 (and in my case chokes on a(
that follows the space).The text was updated successfully, but these errors were encountered: