diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-18 23:17:13 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-18 23:17:13 +0200 |
| commit | bc9ea25d04b87017353380495c5375a6f55e1ad9 (patch) | |
| tree | 468c57bbb2bf2478bb6cd773ef2038c6a713848d /platform/osx/make_dmg.sh | |
| parent | e9f33884ef47bbf4e8f4af830a1a89fd7b3d30cc (diff) | |
fixup! Restore support for building thin or universal binaries for macOS.macos108
Diffstat (limited to 'platform/osx/make_dmg.sh')
| -rw-r--r-- | platform/osx/make_dmg.sh | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index 5a7c4897f..ee5cd3019 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -49,13 +49,9 @@ function copy { if [ -h $f ]; then ln -s $(readlink $f) "$3/`basename $f`" else - if [ "$ARCH2" == "" ]; then - cp $f "$3/`basename $f`" - else: - g=`echo $f | sed -e "s@/$ARCH1/@/$ARCH2/@g"` - mkdir -p "$3" - lipo -create $f $g -output "$3/`basename $f`" - fi + g=`echo $f | sed -e "s@/$ARCH1/@/$ARCH2/@g"` + mkdir -p "$3" + lipo -create $f $g -output "$3/`basename $f`" fi done fi |
