Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174176 - app-text/pdftk-1.12.ebuild uses `which` instead of type
Summary: app-text/pdftk-1.12.ebuild uses `which` instead of type
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Printing Team
URL: http://archives.gentoo.org/gentoo-dev...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-11 16:30 UTC by Ali Polatel (RETIRED)
Modified: 2007-04-17 23:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Polatel (RETIRED) gentoo-dev 2007-04-11 16:30:09 UTC
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 Petteri Räty (RETIRED) gentoo-dev 2007-04-17 23:15:18 UTC
Fixed. Thanks for reporting.