Skip to content

Commit

Permalink
Also just remove binaries instead of looking for links that may not a…
Browse files Browse the repository at this point in the history
…ctually be broken
  • Loading branch information
lordofhyphens committed Aug 23, 2020
1 parent 41632a0 commit 28d5e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/osx/make_dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ find -d $macosfolder/local-lib -name libwx_osx_cocoau_webview-3.* -delete
rm -rf $macosfolder/local-lib/lib/perl5/darwin-thread-multi-2level/Alien/wxWidgets/osx_cocoa_3_0_2_uni/include
find -d $macosfolder/local-lib -type d -empty -delete

# remove wxrc
rm -rf $macosfolder/local-lib/lib/perl5/darwin-thread-multi-2level/Alien/wxWidgets/osx_cocoa_3_0_2_uni/bin/wxrc*
# remove wx build tools
rm -rf $macosfolder/local-lib/lib/perl5/darwin-thread-multi-2level/Alien/wxWidgets/osx_cocoa_3_0_2_uni/bin

# Remove all broken symlinks
find -L $macosfolder/local-lib/lib/perl5/darwin-thread-multi-2level/Alien/wxWidgets/osx_cocoa_3_0_2_uni -type l -exec rm {} \;
Expand Down

0 comments on commit 28d5e87

Please sign in to comment.