File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 10
10
MODULES=$MODULES
11
11
12
12
# Paths
13
- ROOT_PATH=" $( dirname $( python -c ' import os,sys;print os.path.realpath(sys.argv[1])' $0 ) ) "
13
+ ROOT_PATH=" $( dirname $( python -c ' from __future__ import print_function; import os,sys;print( os.path.realpath(sys.argv[1]) )' $0 ) ) "
14
14
RECIPES_PATH=" $ROOT_PATH /recipes"
15
15
BUILD_PATH=" $ROOT_PATH /build"
16
16
LIBS_PATH=" $ROOT_PATH /build/libs"
@@ -133,7 +133,7 @@ function push_arm() {
133
133
export LDFLAGS=" -lm"
134
134
135
135
# this must be something depending of the API level of Android
136
- PYPLATFORM=$( python -c ' import sys; print sys.platform' )
136
+ PYPLATFORM=$( python -c ' from __future__ import print_function; import sys; print( sys.platform) ' )
137
137
if [ " $PYPLATFORM " == " linux2" ]; then
138
138
PYPLATFORM=" linux"
139
139
elif [ " $PYPLATFORM " == " linux3" ]; then
You can’t perform that action at this time.
0 commit comments