A number of scripts were added to WebKit, JavaScriptCore, and WebKitLegacy to support XCBuild's new facility for copying and modifying files in one atomic step. The first two are OK, but WebKitLegacy's script (post-process-header-rule) references a file via a variable named "header", and does so without quoting the variable's value. When the header's path contains spaces -- as can happen when building Safari Technology Preview -- the script breaks. Fix this by adding quoting. Also fix a spot where post-process-header-rule expected that WebKitAvailability.h was referenced via a relative path for the form "./WebKitAvailability.h" rather than -- as is the case now -- an absolute path. <rdar://problem/54045608>
Ignore that comment about WebKitAvailability.h. I'll be taking care of that in another patch.
Created attachment 375972 [details] Patch
Comment on attachment 375972 [details] Patch Clearing flags on attachment: 375972 Committed r248489: <https://trac.webkit.org/changeset/248489>
All reviewed patches have been landed. Closing bug.