<rdar://problem/20721931> REGRESSION (r178753): All legacy framework headers are...
[WebKit-https.git] / Source / WebKit / mac / postprocess-headers.sh
index 9b2e8cf..23a78e2 100755 (executable)
@@ -28,7 +28,7 @@ postProcessInDirectory()
         fi
     done
 
-    if [[ ${PLATFORM_NAME} == macsox ]]; then
+    if [[ ${PLATFORM_NAME} == macosx ]]; then
         sedExpression='s/WEBKIT_((CLASS_|ENUM_)?AVAILABLE|DEPRECATED)/NS_\1/g';
     else
         sedExpression='s/ *WEBKIT_((CLASS_|ENUM_)?AVAILABLE|DEPRECATED)_MAC\([^)]+\)//g';