# returns thedefault PREFIX, relative to Xcode's `${PROJECT_DIR}`
|
|
SCRIPT_DIR=$(dirname $0)
|
|
|
|
# Get Absolute Paths
|
|
pushd "${SCRIPT_DIR}" >/dev/null
|
|
SCRIPT_DIR=$(pwd)
|
|
popd >/dev/null
|
|
|
|
CONFIG_PLIST="${SCRIPT_DIR}/CommonPEPDependencies/config.plist"
|
|
PREFIX=$(/usr/libexec/PlistBuddy -c "Print CommonPEPDependencies_PREFIX" "${CONFIG_PLIST}")
|
|
|
|
echo ${PREFIX}
|