Cappuccino Install

35 views
Skip to first unread message

Nicolas Goy

unread,
Nov 19, 2011, 12:35:20 PM11/19/11
to objecti...@googlegroups.com
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?


--
Nicolas Goy
Programmer

Goyman.com SA
Versvey 57
1853 Yvorne
SWITZERLAND

Phone: +41 21 535 31 13
Mobile: +41 79 935 68 93

Aparajita Fishman

unread,
Nov 19, 2011, 2:33:17 PM11/19/11
to objecti...@googlegroups.com
Cool idea. Alexander?

> 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

Alexander Ljungberg

unread,
Nov 19, 2011, 6:14:00 PM11/19/11
to objecti...@googlegroups.com

On 19 Nov 2011, at 17:35, Nicolas Goy wrote:

> 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.

Nicolas Goy

unread,
Nov 20, 2011, 5:04:15 AM11/20/11
to objecti...@googlegroups.com


Ho yea, good point, nevermind then.

Reply all
Reply to author
Forward
0 new messages