mirror of
https://github.com/hercules-ci/arion.git
synced 2024-09-11 10:45:38 +03:00
Merge pull request #47 from hercules-ci/unset-pythonpath
Unset PYTHONPATH
This commit is contained in:
commit
aee39bbb15
@ -1,5 +1,14 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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
|
set -euo pipefail
|
||||||
|
|
||||||
export PATH="@path@:$PATH"
|
export PATH="@path@:$PATH"
|
||||||
|
Loading…
Reference in New Issue
Block a user