aboutsummaryrefslogtreecommitdiff
path: root/getosxSDKROOT.sh
blob: 27952a7d07f92eb4dab9023a632c0f69355cd60f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# Shave and a Haircut
# (c) 2019 Epic Games
# US Patent 6720962

#
#   Returns the SDKROOT to be used when building plugins for the version of Maya
#   in MAYA_LOCATION.
#
#   Note that Bourne/Bash scripts can just directly source getosxvars.sh but
#   csh/tcsh scripts have to go through this bridge.
#
source getosxvars.sh

if [ "${SDKROOT}" != "" ]; then
    echo "${SDKROOT}"
else
    echo ""
fi