mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
One of the new parenthetical expressions needs to not return a value
so that it doesn't put items into the @matches array.
This commit is contained in:
parent
f12d3cca9f
commit
472e21e242
@ -34,7 +34,7 @@ else
|
||||
tmp=( $(_call_program targets "$words[1]" -nsp --no-print-directory -f "$file" .PHONY 2> /dev/null | $cmdargs) )
|
||||
elif [[ -n $useperl ]]; then
|
||||
tmp=(
|
||||
$(perl -ne '@matches = /^(?:([a-zA-Z0-9]+[^\/\t=\s]+)\s*)+:([^=]|$)/ and
|
||||
$(perl -ne '@matches = /^(?:([a-zA-Z0-9]+[^\/\t=\s]+)\s*)+:(?:[^=]|$)/ and
|
||||
print join(" ", @matches), "\n";
|
||||
if (/^\.include\s+\<bsd\.port\.(subdir\.|pre\.)?mk>/ ||
|
||||
/^\.include\s+\".*mk\/bsd\.pkg\.(subdir\.)?mk\"/) {
|
||||
|
Loading…
Reference in New Issue
Block a user