Syntax error bug in setup.ion, etc.
Created by: covercash2
i was having trouble getting setup.ion to run, and i found what appears to be a bug.
if not exists $(rustc --version | grep nightly) echo hello end
outputs:
ion: syntax error: '(' at position 29 is out of place
and it doesn't execute the inner block. i haven't been able to reproduce the error with other commands inside the $()
statement.
it also has hard to define effects on the setup.ion script. mostly it just doesn't work. removing the rustc version check seems to solve a lot of it. the other problems may merit another issue, but i'm still working on notes for those.
version stuff
i've tested this on Arch, a Debian 9 VM, and macOS with termite, iTerm2, and Terminal.app.
rustc 1.23.0-nightly (827cb0d61 2017-11-26)
ion 1.0.5 (x86_64-apple-darwin)
rev bfe7dffe507bb2565cf9feb92b46da6059b7757b