Merge pull request #4410 from kirisakow/patch-1

Trim trailing slash in `--home` argument's value from the get-go to avoid that subsequently created paths contain two adjacent slashes in the middle
This commit is contained in:
neil 2022-11-28 09:58:46 +08:00 committed by GitHub
commit a19f7481b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7496,7 +7496,7 @@ _process() {
shift shift
;; ;;
--home) --home)
export LE_WORKING_DIR="$2" export LE_WORKING_DIR="$(echo "$2" | sed 's|/$||')"
shift shift
;; ;;
--cert-home | --certhome) --cert-home | --certhome)