From c45d02ceb277215d0d96b79f8f80ec0e8bf50b40 Mon Sep 17 00:00:00 2001 From: roytam1 Date: Thu, 23 Sep 2021 00:22:57 +0800 Subject: [PATCH] mozbuild: remove tilde char from special character blacklist as win32 short path contains tilde character. --- python/mozbuild/mozbuild/shellutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mozbuild/mozbuild/shellutil.py b/python/mozbuild/mozbuild/shellutil.py index 185a970ee5..580d778739 100644 --- a/python/mozbuild/mozbuild/shellutil.py +++ b/python/mozbuild/mozbuild/shellutil.py @@ -26,7 +26,7 @@ UNQUOTED_TOKENS_RE = _tokens2re( whitespace=r'[\t\r\n ]+', quote=r'[\'"]', comment='#', - special=r'[<>&|`~(){}$;\*\?]', + special=r'[<>&|`(){}$;\*\?]', backslashed=r'\\[^\\]', )