diff options
author | Adrien Ferrand <adferrand@users.noreply.github.com> | 2020-07-07 02:04:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 02:04:59 +0300 |
commit | 183ccc64b102410c716e21bb9439fb8d21e31488 (patch) | |
tree | 3fc1e77f0cad63c29ca130dc5c79e30fa57a2249 /snap | |
parent | 6bca93075231fd48948d0c6564c10ec93611b2e8 (diff) |
Some improvements (#8132)
Short PR to improve some things during snap builds:
* cleanup snapcraft assets before a build, in order to avoid some weird errors when two builds are executed consecutively without cleanup
* use python3 explicitly in `tools/simple_http_server.py` because on several recent distributions, `python` binary is not exposed anymore, only `python2` or `python3`.
Diffstat (limited to 'snap')
-rwxr-xr-x | snap/local/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snap/local/build.sh b/snap/local/build.sh index bbe5ba323..eccb99760 100755 --- a/snap/local/build.sh +++ b/snap/local/build.sh @@ -39,4 +39,4 @@ docker run \ -w "/certbot" \ -e "PIP_EXTRA_INDEX_URL=http://localhost:8080" \ "adferrand/snapcraft:${DOCKER_ARCH}-stable" \ - snapcraft + bash -c "snapcraft clean && snapcraft" |