diff --git a/scripts/lib/zulip_tools.py b/scripts/lib/zulip_tools.py index 862e1ff4c1..724d6f0631 100755 --- a/scripts/lib/zulip_tools.py +++ b/scripts/lib/zulip_tools.py @@ -562,7 +562,7 @@ def get_config_file() -> configparser.RawConfigParser: def get_deploy_options(config_file: configparser.RawConfigParser) -> List[str]: - return get_config(config_file, "deployment", "deploy_options", "").strip().split() + return shlex.split(get_config(config_file, "deployment", "deploy_options", "").strip()) def run_psql_as_postgres(