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/prepall | |
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/prepall')
-rwxr-xr-x | bin/prepall | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/prepall b/bin/prepall index 4b1b19553..dbbe95826 100755 --- a/bin/prepall +++ b/bin/prepall @@ -5,7 +5,7 @@ source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh -if type -p chflags &>/dev/null && type -p mtree &>/dev/null; then +if type -P chflags > /dev/null && type -P mtree > /dev/null ; then # Save all the file flags for restoration at the end of prepall. mtree -c -p "${D}" -k flags > "${T}/bsdflags.mtree" # Remove all the file flags so that prepall can do anything necessary. @@ -21,7 +21,7 @@ ecompress --dequeue prepallstrip -if type -p chflags &>/dev/null && type -p mtree &>/dev/null; then +if type -P chflags > /dev/null && type -P mtree > /dev/null; then # Restore all the file flags that were saved at the beginning of prepall. mtree -U -e -p "${D}" -k flags < "${T}/bsdflags.mtree" &> /dev/null fi |