stripDirs: Silence annoying 'File format not recognized' errors

This commit is contained in:
Shea Levy 2017-03-08 14:25:06 -05:00
parent b86b7c04a3
commit d39be63a10

View File

@ -30,7 +30,7 @@ stripDirs() {
if [ -n "${dirs}" ]; then if [ -n "${dirs}" ]; then
header "stripping (with flags $stripFlags) in$dirs" header "stripping (with flags $stripFlags) in$dirs"
find $dirs -type f -print0 | xargs -0 ${xargsFlags:--r} strip $commonStripFlags $stripFlags || true find $dirs -type f -print0 | xargs -0 ${xargsFlags:--r} strip $commonStripFlags $stripFlags 2>/dev/null || true
stopNest stopNest
fi fi
} }