On Sat, Dec 08, 2012 at 05:35:01PM +0100, Daniel Kriesten wrote:
> This prevents bash_completion from working correctly.
> 
> Signed-off-by: Daniel Kriesten <[email protected]>
> ---
> scripts/bash_completion | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/bash_completion b/scripts/bash_completion
> index ea3921d..719cb35 100644
> --- a/scripts/bash_completion
> +++ b/scripts/bash_completion
> @@ -112,7 +112,7 @@ _ptxdist_completion()
>               ;;
>       clean)
>               COMPREPLY=( root )
> -             ;&
> +             ;;

Why this change? ";&" means fall through, like omitting then 'break' in C
code. This is intentional.

Michael

>       get|extract|prepare|compile|install|targetinstall|tags)
>               COMPREPLY+=( $( compgen -W "$( $_ptxdist_cmd print 
> PTX_PACKAGES_SELECTED 2> /dev/null)" -- $cur ) )
>               ;;
> -- 
> 1.8.0
> 
> 
> -- 
> ptxdist mailing list
> [email protected]
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to