mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
0d9bbc9d64
The SDKROOT variable is _the_ "master switch" to set the target OS version (much stricter compared to MACOSX_DEPLOYMENT_TARGET alone), yet it has no impact on the output of 'xcodebuild -showsdks'. Also rename the script to 'macos', it's not being called 'osx' anymore since 2016 (Sierra).
14 lines
193 B
Bash
Executable File
14 lines
193 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eux -o pipefail
|
|
|
|
xcodebuild -version || :
|
|
|
|
if [ -z "$SDKROOT" ]; then
|
|
xcodebuild -showsdks || :
|
|
else
|
|
echo "SDKROOT = $SDKROOT"
|
|
fi
|
|
|
|
system_profiler SPSoftwareDataType || :
|