Make postprocess-framework-headers.sh a little easier to read
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Oct 2017 14:51:30 +0000 (14:51 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Oct 2017 14:51:30 +0000 (14:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=178971

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-10-28
Reviewed by Sam Weinig.

* mac/postprocess-framework-headers.sh:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224149 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/mac/postprocess-framework-headers.sh

index 42c9b58..936e84a 100644 (file)
@@ -1,3 +1,12 @@
+2017-10-28  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Make postprocess-framework-headers.sh a little easier to read
+        https://bugs.webkit.org/show_bug.cgi?id=178971
+
+        Reviewed by Sam Weinig.
+
+        * mac/postprocess-framework-headers.sh:
+
 2017-10-27  Daniel Bates  <dabates@apple.com>
 
         Attempt to fix the Apple El Capitan build following <https://trac.webkit.org/changeset/224134>
index 4aa5417..342b20a 100755 (executable)
@@ -70,7 +70,10 @@ function rewrite_headers () {
             -e "s/^WK_CLASS_DEPRECATED/WK_EXTERN API_DEPRECATED/"
         )
     else
-        SED_OPTIONS+=(-e 's/WK_(API_|CLASS_)AVAILABLE\(.*\)\s*\)//g' -e 's/WK_(API_|CLASS_)DEPRECATED(_WITH_REPLACEMENT)?\(.*\)\s*\)//g')
+        SED_OPTIONS+=(
+            -e 's/WK_(API_|CLASS_)AVAILABLE\(.*\)\s*\)//g'
+            -e 's/WK_(API_|CLASS_)DEPRECATED(_WITH_REPLACEMENT)?\(.*\)\s*\)//g'
+        )
     fi
 
     SED_OPTIONS+=(${OTHER_SED_OPTIONS[*]})