Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iOS: fix ios-configure-glog.sh syntax issue
Summary: A `cat` to file was removed accidentally, preventing the configuration script from executing successfully as part of a `pod install`. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D24024824 fbshipit-source-id: 94af0c6e663320bfac04ee8f6fb37bd4bdc379a4
- Loading branch information
7054e58
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos True, there was a comment, that this line was related to tvOS: 2160377#diff-db5be184065c4ffa44ee6585f41e6a69L33
7054e58
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines 33 through 48 makeup a single bash multiline command (
<< EOF
indicates that everything after this line, untilEOF
, should be passed in tocat
as an argument). Without that first component to the command, we have a syntax error in the bash script.I believe the old comment was referring to these lines in particular which you removed in 2160377#diff-db5be184065c4ffa44ee6585f41e6a69L42-L48:
It's not clear at this moment if the rest of the text that is being appended to
src/config.h
is still necessary for non-tvOS platforms. After looking at the history of this file, it wasn't very clear if the tvOS fix was limited to the lines you removed, or if the entire script is a tvOS fix. We may need to clean this up later.7054e58
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for the detailed explanation! 🙂