From 1ba53fd72db65f9159bac040fb64dadea06a3ac2 Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Fri, 12 Jan 2018 18:08:14 +0100 Subject: [PATCH] shellutil.py: ignore tilde '~' as special character Currently we don't need the tilde sign defined as a special character inside the Python wrappers around the autotools files, it's not used any there and breaks the build of Debian beta versions which uses '~' to mark the Debian version as 'smaller than'. Gbp-Pq: Topic debian-hacks Gbp-Pq: Name shellutil.py-ignore-tilde-as-special-character.patch --- 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'\\[^\\]', ) -- 2.30.2