mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
fix: do not ship broken symlinks in webkit for mac (#5512)
Since we don't ship things like WebKitPluginAgent, we can safely remove all the symlinks that point to the missing targets. Fixes #5472
This commit is contained in:
parent
496aeeba79
commit
eb3efb3089
@ -1,2 +1,2 @@
|
|||||||
1437
|
1438
|
||||||
Changed: dgozman@gmail.com Fri Feb 19 16:12:07 PST 2021
|
Changed: lushnikov@chromium.com Fri Feb 19 21:08:07 PST 2021
|
||||||
|
@ -131,6 +131,9 @@ createZipForMac() {
|
|||||||
# copy protocol
|
# copy protocol
|
||||||
node $SCRIPTS_DIR/concat_protocol.js > $tmpdir/protocol.json
|
node $SCRIPTS_DIR/concat_protocol.js > $tmpdir/protocol.json
|
||||||
|
|
||||||
|
# Remove all broken symlinks. @see https://github.com/microsoft/playwright/issues/5472
|
||||||
|
find "${tmpdir}" -type l ! -exec test -e {} \; -print | xargs rm
|
||||||
|
|
||||||
# zip resulting directory and cleanup TMP.
|
# zip resulting directory and cleanup TMP.
|
||||||
ditto -c -k $tmpdir $ZIP_PATH
|
ditto -c -k $tmpdir $ZIP_PATH
|
||||||
rm -rf $tmpdir
|
rm -rf $tmpdir
|
||||||
|
Loading…
Reference in New Issue
Block a user