- minor fix to ant completion from Jean-Baptiste Quenot <jb.quenot@caraldi.com>
This commit is contained in:
parent
e804e09e3c
commit
ceb0e88c05
@ -1,6 +1,6 @@
|
|||||||
# bash_completion - some programmable completion functions for bash 2.05b
|
# bash_completion - some programmable completion functions for bash 2.05b
|
||||||
#
|
#
|
||||||
# $Id: bash_completion,v 1.517 2003/01/21 08:21:15 ianmacd Exp $
|
# $Id: bash_completion,v 1.518 2003/01/25 22:11:18 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -2440,6 +2440,8 @@ _ant()
|
|||||||
|
|
||||||
# parse buildfile for targets
|
# parse buildfile for targets
|
||||||
COMPREPLY=( $( awk -F'"' '/<target name="/ {print $2}' \
|
COMPREPLY=( $( awk -F'"' '/<target name="/ {print $2}' \
|
||||||
|
$buildfile | grep "^$cur" )
|
||||||
|
$( awk -F"'" "/<target name='/ "'{print $2}' \
|
||||||
$buildfile | grep "^$cur" ) )
|
$buildfile | grep "^$cur" ) )
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user