Message ID | 1457564339-27294-15-git-send-email-s.martin49@gmail.com |
---|---|
State | Superseded |
Headers | show |
On 03/09/16 23:58, Samuel Martin wrote: > Silent find command when HOST_DIR/usr/sbin does not exist. Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Can this be applied right away, maybe? Regards, Arnout > > Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> > Signed-off-by: Samuel Martin <s.martin49@gmail.com> > > --- > changes v6->v7: > - new patch > --- > support/scripts/check-host-rpath | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath > index 0bbac30..2d3ddec 100755 > --- a/support/scripts/check-host-rpath > +++ b/support/scripts/check-host-rpath > @@ -45,7 +45,7 @@ main() { > "${pkg}" > fi > printf "*** %s\n" "${file}" > - done < <( find "${hostdir}"/usr/{bin,sbin} -type f -print | > + done < <( find "${hostdir}"/usr/{bin,sbin} -type f -print 2>/dev/null | > readelf.filter_elf_executable ) > > return ${ret} >
diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath index 0bbac30..2d3ddec 100755 --- a/support/scripts/check-host-rpath +++ b/support/scripts/check-host-rpath @@ -45,7 +45,7 @@ main() { "${pkg}" fi printf "*** %s\n" "${file}" - done < <( find "${hostdir}"/usr/{bin,sbin} -type f -print | + done < <( find "${hostdir}"/usr/{bin,sbin} -type f -print 2>/dev/null | readelf.filter_elf_executable ) return ${ret}
Silent find command when HOST_DIR/usr/sbin does not exist. Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Samuel Martin <s.martin49@gmail.com> --- changes v6->v7: - new patch --- support/scripts/check-host-rpath | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)