mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
13 lines
482 B
Diff
13 lines
482 B
Diff
diff --git a/setupbase.py b/setupbase.py
|
|
index 0ce0ac8..7762e23 100644
|
|
--- a/setupbase.py
|
|
+++ b/setupbase.py
|
|
@@ -659,7 +659,7 @@ def _translate_glob(pat):
|
|
translated_parts.append(_translate_glob_part(part))
|
|
os_sep_class = '[%s]' % re.escape(SEPARATORS)
|
|
res = _join_translated(translated_parts, os_sep_class)
|
|
- return '{res}\\Z(?ms)'.format(res=res)
|
|
+ return '(?ms){res}\\Z'.format(res=res)
|
|
|
|
|
|
def _join_translated(translated_parts, os_sep_class):
|