Bug 174176 - app-text/pdftk-1.12.ebuild uses `which` instead of type
Bug#: 174176 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: printing@gentoo.org Reported By: hawking@gentoo.org
Component: Ebuilds
URL:  http://archives.gentoo.org/gentoo-dev/msg_143424.xml
Summary: app-text/pdftk-1.12.ebuild uses `which` instead of type
Keywords:  
Status Whiteboard: 
Opened: 2007-04-11 16:30 0000
Description:   Opened: 2007-04-11 16:30 0000
type should be used instead of which in ebuilds:
app-text/pdftk-1.12.ebuild:20
  if [ -z "$(which gcj 2>/dev/null)" ]; then
should be changed to:
  if [ -z "$(type -P gcj)" ]; then

------- Comment #1 From Petteri Räty 2007-04-17 23:15:18 0000 -------
Fixed. Thanks for reporting.