mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Fix shebang in rebuild_deps (#7557)
When you try to run this script, it crashes with: ``` standard_init_linux.go:211: exec user process caused "exec format error" ``` This is caused by the script being written to have the contents: ``` \ #!/bin/sh set -e ... ``` This fixes the problem by removing the slash and moving the shebang to the first line of the string.
This commit is contained in:
parent
4a8ede2562
commit
57148b7593
1 changed files with 1 additions and 2 deletions
|
|
@ -62,8 +62,7 @@ CERTBOT_REPO_PATH = dirname(dirname(abspath(__file__)))
|
|||
# without pinned dependencies, and respecting input authoritative requirements
|
||||
# - `certbot plugins` is called to check we have an healthy environment
|
||||
# - finally current set of dependencies is extracted out of the docker using pip freeze
|
||||
SCRIPT = r"""\
|
||||
#!/bin/sh
|
||||
SCRIPT = r"""#!/bin/sh
|
||||
set -e
|
||||
|
||||
cd /tmp/certbot
|
||||
|
|
|
|||
Loading…
Reference in a new issue