pkgtools-bug? (from freebsd-hackers -> Re: weird problems with
porupgrade)
Hannes Hauswedell
hannes.hauswedell at gmail.com
Sun Apr 16 16:09:36 UTC 2006
i have looked into the pkgtools ruby code....
it seems to be some bug with the logged_command function.
i dont think it is a very clean solution but i have provided a diff
against /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb that solves the
problem.
could someone with knowledge of ruby and maybe in charge of portupgrade check
this? i have cc'ed to the ports-mailinglists too since it looks like a bug,
thanks & happy easter ;)
-------------- next part --------------
483,484d482
< elsif STDIN.tty?
< ['/usr/bin/script', '-qa', file, *args]
486c484
< ['/bin/sh', '-c', sprintf('%s >>%s 2>&1', shelljoin(*args), shelljoin(file))]
---
> ['/usr/bin/script', '-qa', file, *args]
More information about the freebsd-ports
mailing list