From 41632a0e9102c137185e21cae33189fd32bb5be4 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sat, 22 Aug 2020 19:57:52 -0500 Subject: [PATCH] Only purge wxrc and broken symlinks. --- package/osx/make_dmg.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/osx/make_dmg.sh b/package/osx/make_dmg.sh index 49af241e6..8c0e20b45 100755 --- a/package/osx/make_dmg.sh +++ b/package/osx/make_dmg.sh @@ -186,8 +186,8 @@ 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* -# Apparently the symlinks aren't necessary, remove because they are causing the system to choke -find $macosfolder/local-lib/lib/perl5/darwin-thread-multi-2level/Alien/wxWidgets/osx_cocoa_3_0_2_uni -type l -exec rm {} \; -print +# 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 {} \; make_plist