File tree Expand file tree Collapse file tree 3 files changed +667
-65
lines changed
Expand file tree Collapse file tree 3 files changed +667
-65
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,12 @@ cleanup() {
4545}
4646trap cleanup EXIT
4747
48- # Install requests module explicitly for HTTP calls
48+ # Set correct pip3.7 location for python3.
49+ if ! test -f /usr/bin/pip3.7 && test -f /usr/local/bin/pip3.7; then
50+ ln -s /usr/local/bin/pip3.7 /usr/bin/pip3.7
51+ fi
52+
53+ # Install requests module explicitly for HTTP calls.
4954python3 -m pip install requests
5055
5156# If BOSKOS_HOST is set then acquire a resource of type ${RESOURCE_TYPE} from Boskos.
Original file line number Diff line number Diff line change @@ -46,7 +46,12 @@ cleanup() {
4646}
4747trap cleanup EXIT
4848
49- # Install requests module explicitly for HTTP calls
49+ # Set correct pip3.7 location for python3.
50+ if ! test -f /usr/bin/pip3.7 && test -f /usr/local/bin/pip3.7; then
51+ ln -s /usr/local/bin/pip3.7 /usr/bin/pip3.7
52+ fi
53+
54+ # Install requests module explicitly for HTTP calls.
5055python3 -m pip install requests
5156
5257# If BOSKOS_HOST is set then acquire a resource of type ${RESOURCE_TYPE} from Boskos.
You can’t perform that action at this time.
0 commit comments