I noticed the install one liner is:
curl https://raw.github.com/cappuccino/cappuccino/v0.9.5/bootstrap.sh >/tmp/cb.sh && sh /tmp/cb.sh
Which needs a temporary file, why not use something like:
bash < <(curl -s https://raw.github.com/cappuccino/cappuccino/v0.9.5/bootstrap.sh)
which requires no temp file?
--
Nicolas Goy
Programmer
Goyman.com SA
Versvey 57
1853 Yvorne
SWITZERLAND
Phone: +41 21 535 31 13
Mobile: +41 79 935 68 93
> I noticed the install one liner is:
>
> curl https://raw.github.com/cappuccino/cappuccino/v0.9.5/bootstrap.sh >/tmp/cb.sh && sh /tmp/cb.sh
>
> Which needs a temporary file, why not use something like:
>
> bash < <(curl -s https://raw.github.com/cappuccino/cappuccino/v0.9.5/bootstrap.sh)
>
> which requires no temp file?
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoy.org
> Hello,
>
> I noticed the install one liner is:
>
> curl https://raw.github.com/cappuccino/cappuccino/v0.9.5/bootstrap.sh >/tmp/cb.sh && sh /tmp/cb.sh
>
> Which needs a temporary file, why not use something like:
>
> bash < <(curl -s https://raw.github.com/cappuccino/cappuccino/v0.9.5/bootstrap.sh)
>
> which requires no temp file?
>
Because it doesn't work. You can't respond to the prompts if you have redirected stdin.
Ho yea, good point, nevermind then.