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 787787
788788 # Note that we don't look for AS in $AS_DIR/../libexec/as/\$ARCH/as
789789 # because gprbuild (from GNU Ada) calls as with both -m and -arch
790- # flags, and the arch-specific as doesn'b understand -m32 or -m64.
790+ # flags, and the arch-specific as doesn't understand -m32 or -m64.
791791 # We just look for as in a few places, and if it's not there, we
792792 # look for as-original, starting in the current dir.
793793 # In any case, we prune -m32 and -m64 from the as args.
@@ -1183,7 +1183,7 @@ SPEC_EOF
11831183 # see https://github.com/devernay/xcodelegacy/issues/23
11841184 if [ -f " $PLATFORMDIR /Info.plist-original" ]; then
11851185 echo " *** Not modifying MacOSX Info.plist (found original at $PLATFORMDIR /Info.plist-original, uninstall first to force install)"
1186- elif [ -f " $PLATFORMDIR /Info.plist" ]; then
1186+ elif [ -f " $PLATFORMDIR /Info.plist" ] && grep -q MinimumSDKVersion " $PLATFORMDIR /Info.plist " ; then
11871187 mv " $PLATFORMDIR /Info.plist" " $PLATFORMDIR /Info.plist-original"
11881188 plutil -remove MinimumSDKVersion -o " $PLATFORMDIR /Info.plist" " $PLATFORMDIR /Info.plist-original"
11891189 echo " *** modified MacOSX Info.plist"
You can’t perform that action at this time.
0 commit comments