Skip to content

Commit

Permalink
stripDirs: Silence annoying 'File format not recognized' errors
Browse files Browse the repository at this point in the history
(cherry picked from commit d39be63)
  • Loading branch information
shlevy committed Mar 9, 2017
1 parent f2a123c commit 08b49cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/build-support/setup-hooks/strip.sh
Expand Up @@ -30,7 +30,7 @@ stripDirs() {

if [ -n "${dirs}" ]; then
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
fi
}

0 comments on commit 08b49cf

Please sign in to comment.