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
Fixed. Thanks for reporting.