diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-04-16 01:16:50 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-04-16 01:16:50 +0000 |
commit | 8088ca8bbe6b202f7377b28ef29292ebe4aa97ca (patch) | |
tree | ec3844cda30d723551a6fc63c95acea5a8b97dbc /bin/prepall | |
parent | c14c076250b5123f52ca4fd64cc32dab7595adf1 (diff) | |
download | portage-8088ca8bbe6b202f7377b28ef29292ebe4aa97ca.tar.gz portage-8088ca8bbe6b202f7377b28ef29292ebe4aa97ca.tar.bz2 portage-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/prepall')
-rwxr-xr-x | bin/prepall | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/prepall b/bin/prepall index 3ab821573..aeafc766b 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. @@ -17,7 +17,7 @@ prepallman prepallinfo 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 |