summaryrefslogtreecommitdiffstats
path: root/bin/prepall
diff options
context:
space:
mode:
Diffstat (limited to 'bin/prepall')
-rwxr-xr-xbin/prepall4
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