File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,14 +85,14 @@ if [ -d ${srcdir} ]; then
8585 fi
8686 source ${venvdir} /bin/activate
8787
88- ${venvdir} /bin/pip install pex requests
88+ ${venvdir} /bin/python2.7 ${venvdir} /bin/ pip install pex requests
8989 if [ $? -gt 0 ]; then
9090 echo " Failed to install pex utility for building!"
9191 exit 1
9292 fi
9393
9494 [ ! -d ${bindir} ] && mkdir -p ${bindir}
95- ${venvdir} /bin/pex --disable-cache -o ${output_file} -m ${py_entry_point} -r ${require_file} ${builddir}
95+ ${venvdir} /bin/python2.7 ${venvdir} /bin/ pex --disable-cache -o ${output_file} -m ${py_entry_point} -r ${require_file} ${builddir}
9696 if [ $? -lt 1 ] && [ -x ${output_file} ]; then
9797 echo " pex executable written to '$output_file '"
9898 rm -rf ${builddir}
You can’t perform that action at this time.
0 commit comments