Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 503428

Summary: dev-util/ccache - /usr/bin/ccache-config uses bashism in cc_install_link(): type -p
Product: Gentoo Linux Reporter: Naohiro Aota <naota>
Component: [OLD] DevelopmentAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Naohiro Aota gentoo-dev 2014-03-04 17:01:30 UTC
Steps to reproduce:
You can try dash to see "type -p" is not working with all "/bin/sh" variant.

$ type -p gcc
-p: not found
gcc is /usr/bin/gcc
Comment 1 SpanKY gentoo-dev 2014-03-08 21:29:41 UTC
should be all set now in the tree; thanks for the report!

Commit message: Use `command` rather than `type`
http://sources.gentoo.org/dev-util/ccache/files/ccache-config-2?r1=1.2&r2=1.3