ant: handle "extension-point" the same as "target" tag (Petr Kozelka, Alioth: #313105)
This commit is contained in:
parent
0a40e980cb
commit
b25abe601d
2
CHANGES
2
CHANGES
@ -32,6 +32,8 @@ bash-completion (2.x)
|
||||
with a cword+1 argument already present (Debian: #622383)
|
||||
* Remove --unpack-level from lintian options (Debian: #623680)
|
||||
* Complete filenames after commands in rrdtool (Debian: #577933)
|
||||
* ant: handle "extension-point" the same as "target" tag (Petr Kozelka
|
||||
Alioth: #313105)
|
||||
|
||||
[ Freddy Vulto ]
|
||||
* Improve __reassemble_comp_words_by_ref() to not create words of
|
||||
|
@ -47,7 +47,7 @@ _ant()
|
||||
# some versions of sed complain if there's no trailing linefeed,
|
||||
# hence the 2>/dev/null
|
||||
COMPREPLY=( $( compgen -W "$( tr "'\t\n>" "\" \n" < $buildfile | \
|
||||
sed -ne 's/.*<target .*name="\([^"]*\).*/\1/p' 2>/dev/null )" \
|
||||
sed -ne 's/.*<\(target\|extension-point\) .*name="\([^"]*\).*/\2/p' 2>/dev/null )" \
|
||||
-- "$cur" ) )
|
||||
fi
|
||||
} &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user