use platform_local over detected platform if it exists
This commit is contained in:
parent
16fbf98303
commit
f2e3f57871
1 changed files with 3 additions and 3 deletions
6
ctl
6
ctl
|
@ -35,8 +35,8 @@ fi
|
|||
|
||||
PLATFORM_PYTHON=3.4
|
||||
SHARED_PYTHON=3.4
|
||||
if [ -e "$BASE/local_platform" ]; then
|
||||
export PLATFORM_ENV="$BASE/local_platform"
|
||||
if [ -e "$BASE/platform_local" ]; then
|
||||
export PLATFORM_ENV="$BASE/platform_local"
|
||||
else
|
||||
if [ $SYSTEM == "Linux" ]; then
|
||||
if [ $PLATFORM == "x86_64" ]; then
|
||||
|
@ -50,8 +50,8 @@ else
|
|||
PLATFORM="darwin64"
|
||||
PLATFORM_PY=3.5
|
||||
fi
|
||||
export PLATFORM_ENV="$BASE/platform_${PLATFORM}"
|
||||
fi
|
||||
export PLATFORM_ENV="$BASE/platform_${PLATFORM}"
|
||||
PATH="$PLATFORM_ENV/bin:$PATH"
|
||||
|
||||
SHARED_ENV="$BASE/platform/Shared"
|
||||
|
|
Loading…
Reference in a new issue