mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
Ignore errors if strip fails
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
7496023d5f
commit
34a1b2de68
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue