Re: [meta-freescale] [PATCH][fsl-community-bsp-base] setup-environment: check script has been sourced

2014-07-11 Thread Otavio Salvador
On Fri, Jul 11, 2014 at 12:46 PM, Daiane Angolini wrote: > On Fri, Jul 11, 2014 at 12:24 PM, Otavio Salvador > wrote: >> On Fri, Jul 11, 2014 at 10:28 AM, Daiane Angolini >> wrote: >>> On Wed, Jul 9, 2014 at 12:25 PM, Trevor Woerner >>> wrote: >> ... @@ -55,6 +72,10 @@ ARGS=$(getopt --opt

Re: [meta-freescale] [PATCH][fsl-community-bsp-base] setup-environment: check script has been sourced

2014-07-11 Thread Daiane Angolini
On Fri, Jul 11, 2014 at 12:24 PM, Otavio Salvador wrote: > On Fri, Jul 11, 2014 at 10:28 AM, Daiane Angolini > wrote: >> On Wed, Jul 9, 2014 at 12:25 PM, Trevor Woerner >> wrote: > ... >>> @@ -55,6 +72,10 @@ ARGS=$(getopt --options $SHORTOPTS \ >>>--longoptions $LONGOPTS --name $PROGNAME -

Re: [meta-freescale] [PATCH][fsl-community-bsp-base] setup-environment: check script has been sourced

2014-07-11 Thread Otavio Salvador
On Fri, Jul 11, 2014 at 10:28 AM, Daiane Angolini wrote: > On Wed, Jul 9, 2014 at 12:25 PM, Trevor Woerner > wrote: ... >> @@ -55,6 +72,10 @@ ARGS=$(getopt --options $SHORTOPTS \ >>--longoptions $LONGOPTS --name $PROGNAME -- "$@" ) >> # Print the usage menu if invalid options are specified

Re: [meta-freescale] [PATCH][fsl-community-bsp-base] setup-environment: check script has been sourced

2014-07-11 Thread Trevor Woerner
Hi Daiane, On 07/11/14 09:28, Daiane Angolini wrote: > > I hate using dot "." in documentations or log messages (in fact I > donĀ“t use it any more in my command lines) because I cannot *see* it > when I look to the log/doc line. > > Do you see any problem in the use of "source" instead of ". " (do

Re: [meta-freescale] [PATCH][fsl-community-bsp-base] setup-environment: check script has been sourced

2014-07-11 Thread Daiane Angolini
On Wed, Jul 9, 2014 at 12:25 PM, Trevor Woerner wrote: > Check that this script has been invoked correctly (i.e. that it has been > "source"d and not merely run directly). If it has been run directly, don't > exit immediately in case the user specified the "help" option, allow the help > to be dis

[meta-freescale] [PATCH][fsl-community-bsp-base] setup-environment: check script has been sourced

2014-07-09 Thread Trevor Woerner
Check that this script has been invoked correctly (i.e. that it has been "source"d and not merely run directly). If it has been run directly, don't exit immediately in case the user specified the "help" option, allow the help to be displayed, then exit. Adjust how this script is terminated based on