about summary refs log tree commit diff
path: root/Completion/Unix/Command/_ant
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-08-31 13:37:27 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-08-31 13:37:27 +0000
commitf18f231ef7eb73ebe0c4e3dec41255924af15e61 (patch)
treee910599f383c418c99e8bfcf5d8f18f09a5fc5c7 /Completion/Unix/Command/_ant
parent50e4b4336299a09024f1e8361861ca939859279b (diff)
downloadzsh-f18f231ef7eb73ebe0c4e3dec41255924af15e61.tar.gz
zsh-f18f231ef7eb73ebe0c4e3dec41255924af15e61.tar.xz
zsh-f18f231ef7eb73ebe0c4e3dec41255924af15e61.zip
25569: David Le Bourgeois and pws: _ant completion fix
Diffstat (limited to 'Completion/Unix/Command/_ant')
-rw-r--r--Completion/Unix/Command/_ant2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_ant b/Completion/Unix/Command/_ant
index 90f2f5699..e4f5efa67 100644
--- a/Completion/Unix/Command/_ant
+++ b/Completion/Unix/Command/_ant
@@ -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