diff --git a/tools/readable_bash.py b/tools/readable_bash.py index 3ccf1a37..a5e2b4ec 100644 --- a/tools/readable_bash.py +++ b/tools/readable_bash.py @@ -462,9 +462,8 @@ class BashScript(Grammar): v = re.sub(r"(\$?)PRIMARY_HOSTNAME", r"box.yourdomain.com", v) v = re.sub(r"\$STORAGE_ROOT", r"$STORE", v) - v = v.replace("`pwd`", "/path/to/mailinabox") + return v.replace("`pwd`", "/path/to/mailinabox") - return v def wrap_lines(text, cols=60): ret = ""