3 ms·
I ran your script and this is what errors it had: Would you like to proceed with the installation? (y/N) /dev/fd/63: 48: read: Illegal option -n /dev/fd/63:
by hardkorebob 6y ago
I ran your script and this is what errors it had:
Would you like to proceed with the installation? (y/N)
/dev/fd/63: 48: read: Illegal option -n
/dev/fd/63: 50: /dev/fd/63: [[: not found
Im new to programming. In any case it did install completely. Thanks for the new language. Looks real cool.
- slightknack 6y agoWhat operating system do you have? It seems like your `read` command does not support the `-n` argument - but that's not the point, I really need to work on removing installation friction. If you have git and cargo installed (needed anyway), you can try: # project structure cd ~ mkdir .aspen cd .aspen mkdir bin # download git clone https://github.com/vrtbl/passerine git clone https://github.com/vrtbl/aspen # build cd aspen cargo build --release mv target/release/aspen bin # source echo "export PATH="~/.aspen/bin:$PATH" >> ~/.profile Restart your shell, and it should work. Type `aspen` and hit enter and see if you get a help message with version 0.4.0. If you have any more issues, reach out on the Discord server so we can reach a more permanent solution (if you haven't already).
- hardkorebob 6y ago[[ is a Bash feature. The command for install uses POSIX sh. Maybe that's the problem. I use Debian and Bash. Thanks for the reply.
- slightknack 6y agoAh, It seems like like my #!/bin/sh suspiciously supports bash features... I'll have to update the install script. Thanks for pointing that out!