does not work. bash will execute the script (without any option). What I ask is: how do you tell bash that he needs to transfer a flag “-v” to the downloaded script?
Esteban On 11 Jun 2014, at 11:07, Max Leske <[email protected]> wrote: > > On 11.06.2014, at 15:59, Esteban Lorenzano <[email protected]> wrote: > >> >> On 11 Jun 2014, at 10:54, Max Leske <[email protected]> wrote: >> >>> >>> On 11.06.2014, at 15:45, Esteban Lorenzano <[email protected]> wrote: >>> >>>> >>>> On 11 Jun 2014, at 10:41, Esteban A. Maringolo <[email protected]> >>>> wrote: >>>> >>>>> Can the zeroconf download of the image and/or vm display a progress? >>>>> >>>>> It is... remove the --silent and --quiet arguments from curl and wget >>>>> respectively :) >>>>> >>>>> Thank you! >>>> >>>> mmm… I do not think so, since zeroconf scripts are intended to automated >>>> scenarios (like jenkins builds, etc.) >>> >>> We could default to silent and give the user the option to turn off the >>> silence with a -v flag… >> >> how? >> (thinking on "curl get.pharo.org | bash” usage) > > Well, the first ‘curl’ simply gets the script and feeds it to bash. After > that, all the statements from the script work as if executed directly from > the shell. Then, in the script, you do something like: > > if [ <NOT check option> ]; then > SILENT= "—silent" > else > SILENT=“” > fi > > >> >>> >>>> >>>>> >>>>> Esteban A. Maringolo
