File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 23
23
BP=$( dirname $( dirname $0 ) )
24
24
export PYTHONPATH=$BP /lib
25
25
VERSION=` cat $BP /VERSION`
26
- python $BP /scripts/detect.py $1 $VERSION
26
+ python2 $BP /scripts/detect.py $1 $VERSION
Original file line number Diff line number Diff line change @@ -43,8 +43,9 @@ for env_var in $env_vars; do
43
43
done
44
44
45
45
export PYTHONPATH=$BP /lib
46
+ unset PYTHONHOME
46
47
47
- python $BP /scripts/compile.py $BUILD_DIR $CACHE_DIR
48
+ python2 $BP /scripts/compile.py $BUILD_DIR $CACHE_DIR
48
49
49
50
pushd $BUILD_DIR /.profile.d > /dev/null
50
51
for f in * ; do mv " $f " " finalize_$f " ; done
Original file line number Diff line number Diff line change 23
23
BP=$( dirname $( dirname $0 ) )
24
24
export PYTHONPATH=$BP /lib
25
25
26
- python $BP /scripts/release.py $1
26
+ python2 $BP /scripts/release.py $1
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python2
2
2
3
3
# Licensed to the Apache Software Foundation (ASF) under one or more
4
4
# contributor license agreements. See the NOTICE file distributed with
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python2
2
2
3
3
# Licensed to the Apache Software Foundation (ASF) under one or more
4
4
# contributor license agreements. See the NOTICE file distributed with
You can’t perform that action at this time.
0 commit comments