Merge pull request #47 from hercules-ci/unset-pythonpath
Unset PYTHONPATH
This commit is contained in:
commit
aee39bbb15
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Close off the python module search path
|
||||
#
|
||||
# Accepting directories from the environment into the search path
|
||||
# tends to break things. Docker Compose does not have a plugin
|
||||
# system as far as I can tell, so I don't expect this to break a
|
||||
# feature, but rather to make the program more robustly self-
|
||||
# contained.
|
||||
unset PYTHONPATH
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
export PATH="@path@:$PATH"
|
||||
|
|
Loading…
Reference in a new issue