diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-15 09:32:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-15 09:32:30 +0000 |
commit | 11cbb6ebec83d94fa87ddc023250cd9007d76687 (patch) | |
tree | 89577f1b994935344b8dc570c6c29fd5bbc3e959 /bin/ebuild.sh | |
parent | cef81d8d665b1e7fd958ae80716ff34fbbe67150 (diff) | |
download | portage-11cbb6ebec83d94fa87ddc023250cd9007d76687.tar.gz portage-11cbb6ebec83d94fa87ddc023250cd9007d76687.tar.bz2 portage-11cbb6ebec83d94fa87ddc023250cd9007d76687.zip |
convert `type -p` to `type -P` as noted by grobian
svn path=/main/trunk/; revision=6411
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 755b0ba39..370445312 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -449,7 +449,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 @@ -687,7 +687,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 @@ -1405,7 +1405,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 |