1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-12-23 23:50:51 +01:00

Ignore errors if strip fails

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-03-09 19:10:21 +01:00
parent 7496023d5f
commit 34a1b2de68

View file

@ -21,7 +21,7 @@ strip_files() {
[ -f "$f" ] || continue;
if file -b $f | grep -q -i elf; then
${TARGET}-strip --discard-all "$f"
${TARGET}-strip --discard-all "$f" 2> /dev/null || true
fi
done
}