Merge pull request #1442 from javuto/darwin_package_10.9

Updating the script to create packages for 10.9 building
This commit is contained in:
Teddy Reed 2015-08-12 18:16:36 -07:00
commit 251aded11c

View File

@ -11,7 +11,13 @@ set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SOURCE_DIR="$SCRIPT_DIR/../.."
source $SOURCE_DIR/tools/lib.sh
distro "darwin" DISTRO
if [[ "$DISTRO" == "10.10" ]]; then
BUILD_DIR="$SOURCE_DIR/build/darwin"
else
BUILD_DIR="$SOURCE_DIR/build/darwin$BUILD_VERSION"
fi
export PATH="$PATH:/usr/local/bin"
source $SCRIPT_DIR/../lib.sh