mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Daniel Kriesten <daniel.kriesten@etit.tu-chemnitz.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] fix typo in bash_completion
Date: Tue, 11 Dec 2012 16:16:48 +0100	[thread overview]
Message-ID: <04FD387E-4B7E-4A06-877B-73E7D1893486@etit.tu-chemnitz.de> (raw)
In-Reply-To: <20121210085047.GJ26985@pengutronix.de>


[-- Attachment #1.1: Type: text/plain, Size: 2008 bytes --]

Oh - really. I didn't know this. So with today's pull a new revision of the completion script arrived.

So I double-checked the behavior on my Mac (GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)) and it fails. On my Linux Box (where it did not work either) the problem is an other and I have to further check it out.

So for now forget about this ...


Am 10.12.2012 um 09:50 schrieb Michael Olbrich:

> 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 <krid@tu-chemnitz.eu>
>> ---
>> 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
>> ptxdist@pengutronix.de
>> 
> 
> -- 
> 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
> ptxdist@pengutronix.de
> 


-- 
Daniel Kriesten
Professur Schaltkreis- und Systementwurf
Technische Universität Chemnitz, Reichenhainer Str. 31-33, 09126 Chemnitz
Tel: +49 371 531 33058  Fax: +49 371 531 833058
http://www.tu-chemnitz.de/etit/sse


[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4964 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-12-11 15:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-08 16:35 Daniel Kriesten
2012-12-10  8:50 ` Michael Olbrich
2012-12-11 15:16   ` Daniel Kriesten [this message]
2012-12-13 12:10     ` Daniel Kriesten
2012-12-14 10:18       ` Michael Olbrich
2012-12-14 12:28         ` Daniel Kriesten

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=04FD387E-4B7E-4A06-877B-73E7D1893486@etit.tu-chemnitz.de \
    --to=daniel.kriesten@etit.tu-chemnitz.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox