Replace the BASH parameter substitution mechanism (unsupported by sh) with standard commands (supported by sh)

This commit is contained in:
Kiril Isakov
2022-11-27 09:22:06 +01:00
committed by GitHub
parent 9f942a6b65
commit 264b9819ff

View File

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