Skip to content

Commit 26a1800

Browse files
authored
Merge pull request #69 from timvaillancourt/shebang_limit_fix
Shebang limit fix for scripts/build.sh virtualenv
2 parents 518800b + 44fdc13 commit 26a1800

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.3
1+
0.3.4

scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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}

0 commit comments

Comments
 (0)