Something new for my h2 files ;)
https://github.com/dh83/script/blob/master/h2Source.txt

=> http://stackoverflow.com/questions/5560442/how-to-run-two-commands-in-sudo

sudo -s -- "curl get.pharo.org/vm | bash"

BTW the "-L" option is no longer needed ;)

On 2013-06-12, at 07:26, Sven Van Caekenberghe <[email protected]> wrote:
> I think the sudo only takes the first command, curl, not the bash.
> 
> Maybe sudo "curl -L get.pharo.org/vm | bash" or something like that ?
> 
> Sven
> 
> On 12 Jun 2013, at 03:58, "Sean P. DeNigris" <[email protected]> wrote:
> 
>> I'm on a Mac w. Mountain Lion and I want to put my vm in /usr/local/bin, but
>> my account is not an administrator. sudo does not help:
>> 
>> sudo curl -L get.pharo.org/vm | bash
>> Password:
>> % Total    % Received % Xferd  Average Speed   Time    Time     Time 
>> Current
>>                                Dload  Upload   Total   Spent    Left 
>> Speed
>> 100  5272  100  5272    0     0  26464      0 --:--:-- --:--:-- --:--:--
>> 51686
>> Downloading the latest pharoVM:
>>      http://files.pharo.org/vm/pharo/mac/stable.zip
>> mkdir: pharo-vm: Permission denied
>> 
>> 
>> 
>> 
>> -----
>> Cheers,
>> Sean
>> --
>> View this message in context: 
>> http://forum.world.st/ZeroConf-and-write-permission-tp4692903.html
>> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>> 
> 
> 


Reply via email to