Skip to content

Commit d7e42ab

Browse files
committed
2 parents 26b10c3 + 9c0d227 commit d7e42ab

File tree

8 files changed

+483
-169
lines changed

8 files changed

+483
-169
lines changed

distribute.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "X$PYTHON" == "X" ]; then
1919
fi
2020

2121
# Paths
22-
ROOT_PATH="$(dirname $($PYTHON -c 'import os,sys;print os.path.realpath(sys.argv[1])' $0))"
22+
ROOT_PATH="$(dirname $($PYTHON -c 'from __future__ import print_function; import os,sys;print(os.path.realpath(sys.argv[1]))' $0))"
2323
RECIPES_PATH="$ROOT_PATH/recipes"
2424
BUILD_PATH="$ROOT_PATH/build"
2525
LIBS_PATH="$ROOT_PATH/build/libs"
@@ -142,7 +142,7 @@ function push_arm() {
142142
export LDFLAGS="-lm"
143143

144144
# this must be something depending of the API level of Android
145-
PYPLATFORM=$($PYTHON -c 'import sys; print sys.platform')
145+
PYPLATFORM=$($PYTHON -c 'from __future__ import print_function; import sys; print(sys.platform)')
146146
if [ "$PYPLATFORM" == "linux2" ]; then
147147
PYPLATFORM="linux"
148148
elif [ "$PYPLATFORM" == "linux3" ]; then
94.3 KB
Loading

0 commit comments

Comments
 (0)