File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 713713
714714 # Note that we don't look for AS in $AS_DIR/../libexec/as/\$ARCH/as
715715 # because gprbuild (from GNU Ada) calls as with both -m and -arch
716- # flags, and the arch-specific as doesn'b understand -m32 or -m64.
716+ # flags, and the arch-specific as doesn't understand -m32 or -m64.
717717 # We just look for as in a few places, and if it's not there, we
718718 # look for as-original, starting in the current dir.
719719 # In any case, we prune -m32 and -m64 from the as args.
@@ -1105,7 +1105,7 @@ SPEC_EOF
11051105 # see https://github.com/devernay/xcodelegacy/issues/23
11061106 if [ -f " $PLATFORMDIR /Info.plist-original" ]; then
11071107 echo " *** Not modifying MacOSX Info.plist (found original at $PLATFORMDIR /Info.plist-original, uninstall first to force install)"
1108- elif [ -f " $PLATFORMDIR /Info.plist" ]; then
1108+ elif [ -f " $PLATFORMDIR /Info.plist" ] && grep -q MinimumSDKVersion " $PLATFORMDIR /Info.plist " ; then
11091109 mv " $PLATFORMDIR /Info.plist" " $PLATFORMDIR /Info.plist-original"
11101110 plutil -remove MinimumSDKVersion -o " $PLATFORMDIR /Info.plist" " $PLATFORMDIR /Info.plist-original"
11111111 echo " *** modified MacOSX Info.plist"
You can’t perform that action at this time.
0 commit comments