summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-04-16 01:16:50 +0000
committerZac Medico <zmedico@gentoo.org>2007-04-16 01:16:50 +0000
commit8088ca8bbe6b202f7377b28ef29292ebe4aa97ca (patch)
treeec3844cda30d723551a6fc63c95acea5a8b97dbc /bin/ebuild.sh
parentmisc style fixes (trunk r6400:6401) (diff)
downloadportage-multirepo-8088ca8bbe6b202f7377b28ef29292ebe4aa97ca.tar.gz
portage-multirepo-8088ca8bbe6b202f7377b28ef29292ebe4aa97ca.tar.bz2
portage-multirepo-8088ca8bbe6b202f7377b28ef29292ebe4aa97ca.zip
convert `type -p` to `type -P` as noted by grobian (trunk r6410:6411)v2.1.2.4
svn path=/main/branches/2.1.2/; revision=6414
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index f9cc6b6f..92f75455 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -524,7 +524,7 @@ econf() {
local TMP_CONFCACHE_DIR CONFCACHE_ARG
if hasq confcache $FEATURES && ! hasq confcache $RESTRICT; then
- CONFCACHE="$(type -p confcache)"
+ CONFCACHE="$(type -P confcache)"
if [ -z "${CONFCACHE}" ]; then
ewarn "disabling confcache, binary cannot be found"
else
@@ -762,7 +762,7 @@ dyn_clean() {
return 1
fi
- if type -p chflags &>/dev/null; then
+ if type -P chflags > /dev/null ; then
chflags -R noschg,nouchg,nosappnd,nouappnd "${PORTAGE_BUILDDIR}"
chflags -R nosunlnk,nouunlnk "${PORTAGE_BUILDDIR}" 2>/dev/null
fi
@@ -1480,7 +1480,7 @@ QA_INTERCEPTORS="javac java-config python python-config perl grep egrep fgrep se
# level the QA interceptors if we're in depend
if hasq "depend" "${EBUILD_SH_ARGS}"; then
for BIN in ${QA_INTERCEPTORS}; do
- BIN_PATH=$(type -pf ${BIN})
+ BIN_PATH=$(type -Pf ${BIN})
if [ "$?" != "0" ]; then
BODY="echo \"*** missing command: ${BIN}\" >&2; return 127"
else