[build_script] Remove grep since it always passes
`xcodebuild` always prints "export" once it begins building an Xcode project
or workspace, regardless of whether that build eventually passes or fails.
This results in the `grep` statement succeeding, and thus causing the build
script to pass, even when the build fails.
The `grep` statement was originally added to make the build output more human
readable, not change the exit code of any builds. Remove it for now.
diff --git a/build_script.py b/build_script.py
index 44223cd..4ac20e6 100755
--- a/build_script.py
+++ b/build_script.py
@@ -109,8 +109,7 @@
"-configuration {style_options} "
"SWIFT_EXEC=\"{swiftc}\" "
"SWIFT_LINK_OBJC_RUNTIME=YES "
- "SYMROOT=\"{build_dir}\" OBJROOT=\"{build_dir}\" "
- "| grep -v \" export\"".format(
+ "SYMROOT=\"{build_dir}\" OBJROOT=\"{build_dir}\" ".format(
swiftc=swiftc,
build_dir=build_dir,
style_options=style_options,