support/scripts/check-bin-arch: fix symbolic link check
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 5 Sep 2017 18:59:04 +0000 (20:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 5 Sep 2017 18:59:04 +0000 (20:59 +0200)
commitcb0f3fa13f315a1aa0469d3479673860dcba8eb9
tree181803dfad893792812c808c5d2a798c5b6794ef
parentc96b8675ea03a5d3194d439f740c725dd239ed1a
support/scripts/check-bin-arch: fix symbolic link check

Commit c96b8675ea03a5d3194d439f740c725dd239ed1a
("support/scripts/check-bin-arch: ignore symbolic links") was bogus,
because it tested ${f}, which is the relative path of the file inside
${TARGET_DIR}, so we end up testing if ${f} on the system is a
symbolic link.

This commit fixes that by testing ${TARGET_DIR}/${f}.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/check-bin-arch