On 04/19/2015 05:01 PM, Bertrand Jaquin wrote:
> diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
> index 36a3bb8..4c37f10 100755
> --- a/bin/misc-functions.sh
> +++ b/bin/misc-functions.sh
> @@ -276,7 +276,13 @@ install_mask() {
>  
>               # we also need to handle globs (*.a, *.h, etc)
>               find "${root}" \( -path "${no_inst}" -or -name "${no_inst}" \) \
> -                     -exec rm -fR {} \; >/dev/null 2>&1
> +                     -print0 2> /dev/null \
> +             | sort \

sort -z

Maybe also set LANG=C for locale independence?

-- 
Thanks,
Zac

Reply via email to