mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 17:00:32 +02:00
25569: David Le Bourgeois and pws: _ant completion fix
This commit is contained in:
parent
50e4b43362
commit
f18f231ef7
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2008-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 25569: David Le Bourgeouis & pws: _ant completion was broken
|
||||
by sed pattern change.
|
||||
|
||||
* 25568: Frank Terbeck & pws: Src/builtin.c, Test/.distfiles,
|
||||
Test/A07control.ztst: break and continue arguments less than
|
||||
1 are invalid (and hard errors); add some tests for control
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ find_targets() {
|
|||
importedfiles=( $(sed -n "s/ *<import[^>]* file=[\"']\([^\"']*\)[\"'].*/\1/p" < $1) )
|
||||
# Tweaked to omit targets beginning with "-" that can't
|
||||
# be invoked from the command line; see zsh-workers/24129.
|
||||
sed -n "s/ *<target[^>]* name=[\"']\([^-][^\"']*\)[\"'].*/\1/p" $1
|
||||
sed -n "s/ *<target[^>]* name=[\"']\([^-][^\"']*\)[\"'].*/\1/p" $1
|
||||
if (( $#importedfiles )) ; then
|
||||
( cd $1:h
|
||||
for file in $importedfiles ; do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue