You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
357 B

# 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}