On 11.06.2014, at 16:28, Esteban Lorenzano <estebanlm@gmail.com> wrote:
unless you are suggesting that he can do something like
curl get.pharo.org > myScript.sh bash myScript.sh -v
that can work
Ok, you win :) There doesnât seem to be an easy way to do this appart from what youâve done above (yes, there are environment variables etcâ¦). @(other)Esteban How important is this to you? You can always pipe the script through a âsedâ filter and remove the â--silentâ option.
On 11 Jun 2014, at 11:27, Esteban Lorenzano <estebanlm@gmail.com> wrote:
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 <maxleske@gmail.com> wrote:
On 11.06.2014, at 15:59, Esteban Lorenzano <estebanlm@gmail.com> wrote:
On 11 Jun 2014, at 10:54, Max Leske <maxleske@gmail.com> wrote:
On 11.06.2014, at 15:45, Esteban Lorenzano <estebanlm@gmail.com> wrote:
On 11 Jun 2014, at 10:41, Esteban A. Maringolo <emaringolo@gmail.com> 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