mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-19 21:03:25 -07:00
Updated msys2 to msys2-base-x86_64-20200903
This commit is contained in:
parent
5bc8dbdc75
commit
2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions
|
@ -11,7 +11,7 @@ _ant_parse_targets()
|
|||
if [[ $line =~ \<(target|extension-point)[[:space:]].*name=[\"\']([^\"\']+) ]]; then
|
||||
targets+=" ${BASH_REMATCH[2]}"
|
||||
fi
|
||||
done < $1
|
||||
done <$1
|
||||
|
||||
# parse imports
|
||||
while read -rd '>' line; do
|
||||
|
@ -22,7 +22,7 @@ _ant_parse_targets()
|
|||
_ant_parse_targets $imported_buildfile
|
||||
fi
|
||||
fi
|
||||
done < $1
|
||||
done <$1
|
||||
}
|
||||
|
||||
_ant()
|
||||
|
@ -39,7 +39,7 @@ _ant()
|
|||
return
|
||||
;;
|
||||
-logfile|-l)
|
||||
_filedir
|
||||
[[ $1 != *phing || $prev != -l ]] && _filedir
|
||||
return
|
||||
;;
|
||||
-propertyfile)
|
||||
|
@ -47,7 +47,7 @@ _ant()
|
|||
return
|
||||
;;
|
||||
-nice)
|
||||
COMPREPLY=( $( compgen -W '{1..10}' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '{1..10}' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
-lib)
|
||||
|
@ -62,7 +62,10 @@ _ant()
|
|||
if [[ $cur == -D* ]]; then
|
||||
return
|
||||
elif [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" -h )' -- "$cur" ) )
|
||||
# The </dev/null prevents "phing -" weirdness/getting just a literal
|
||||
# tab displayed on complete on CentOS 6 with phing 2.6.1.
|
||||
COMPREPLY=(
|
||||
$(compgen -W '$(_parse_help "$1" -h </dev/null)' -- "$cur") )
|
||||
else
|
||||
# available targets completion
|
||||
# find which buildfile to use
|
||||
|
@ -89,7 +92,7 @@ _ant()
|
|||
# fill targets
|
||||
_ant_parse_targets $buildfile
|
||||
|
||||
COMPREPLY=( $( compgen -W '$targets' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$targets' -- "$cur") )
|
||||
fi
|
||||
} &&
|
||||
complete -F _ant ant phing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue