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() {
45
45
}
46
46
trap cleanup EXIT
47
47
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.
49
54
python3 -m pip install requests
50
55
51
56
# 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() {
46
46
}
47
47
trap cleanup EXIT
48
48
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.
50
55
python3 -m pip install requests
51
56
52
57
# 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