From: | Zac Medico <zmedico@g.o> | ||
---|---|---|---|
To: | gentoo-portage-dev@l.g.o | ||
Cc: | Bertrand Jacquin <bertrand@×××××××.bzh> | ||
Subject: | Re: [gentoo-portage-dev] [PATCH 2/2] MEDIUM: misc-functions: Be more verbose when removing INSTALL_MASK glob | ||
Date: | Sun, 19 Apr 2015 23:05:39 | ||
Message-Id: | 553434BD.4000302@gentoo.org | ||
In Reply to: | [gentoo-portage-dev] [PATCH 2/2] MEDIUM: misc-functions: Be more verbose when removing INSTALL_MASK glob by Bertrand Jaquin |
1 | On 04/19/2015 03:35 PM, Bertrand Jaquin wrote: |
2 | > + find "${root}" \( -path "${no_inst}" -or -name "${no_inst}" \) 2> /dev/null \ |
3 | > + | while read; do |
4 | > + __quiet_mode || einfo "Removing /${REPLY#${root}}" |
5 | > + rm -Rf "${REPLY}" >&/dev/null |
6 | > + done |
7 | > + |
8 | |
9 | Please use "find -print0 | while read -r -d ''" to ensure that it works |
10 | will all possible paths. |
11 | -- |
12 | Thanks, |
13 | Zac |