Skip to content

Commit

Permalink
- Ignore stderr while getting varibles from make. This causes a error
Browse files Browse the repository at this point in the history
  with some ports sending noise to the standard error during evaluation.
  • Loading branch information
AMDmi3 authored and stass committed Aug 28, 2011
1 parent d8d5637 commit b5ca757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/portupgrade
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ def get_pkgname(origin)

cmdargs.concat(get_make_args(origin))

output = `cd #{portdir} && #{shelljoin(*cmdargs)} -V PKGNAME -V IGNORE -V NO_IGNORE -V ECHO_MSG 2>&1`.scan(/.*\n/)
output = `cd #{portdir} && #{shelljoin(*cmdargs)} -V PKGNAME -V IGNORE -V NO_IGNORE -V ECHO_MSG`.scan(/.*\n/)

if output.size != 4
warning_message "Makefile possibly broken: #{origin}:"
Expand Down

0 comments on commit b5ca757

Please sign in to comment.