[Buildroot] [PATCH] support/scripts/check-bin-arch: ignore symbolic links
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Sep 4 14:04:01 UTC 2017
Hello,
On Sun, 3 Sep 2017 16:25:48 +0200, Yann E. MORIN wrote:
> > + # Skip symlinks. Some symlinks may have absolute paths as
> > + # target, pointing to host binaries while we're building.
> > + if [[ -L "${f}" ]]; then
>
> I don't like that we use the bashism [[...]] when the POSIX [...] works
> perfectly well. And we also use 'test' below, which is not very
> consistent...
Agreed, but there are already such tests in the script, so I just used
the same syntax. We can fix that up as a follow-up patch.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list