path: root/utils.py
diff options
authorRoman Lacko <backup.rlacko@gmail.com>2012-06-07 08:34:11 +0200
committerRoman Lacko <backup.rlacko@gmail.com>2012-06-07 08:34:11 +0200
commit66b90adc1bb48b70fe6456b1f00cb1c4682c7070 (patch)
tree2c09e8c3ca1ca8a7f076133b0f5fa2f76ff9ff4d /utils.py
parent8123eef67f9c5e239a22b33b0ff32bbb502e9dc5 (diff)
new --standalone option, when enabled, package qt libs on linux
Diffstat (limited to 'utils.py')
1 files changed, 6 insertions, 0 deletions
diff --git a/utils.py b/utils.py
index 59cb50d44..8659b5077 100644
--- a/utils.py
+++ b/utils.py
@@ -77,6 +77,12 @@ def copydir(src, dst, logger=None, filter=None, ignore=None, force=True,
if vars is not None:
src = subst_vars(src, **vars)
dst = subst_vars(dst, **vars)
+ if filter is not None:
+ for i in range(len(filter)):
+ filter[i] = subst_vars(filter[i], **vars)
+ if ignore is not None:
+ for i in range(len(ignore)):
+ ignore[i] = subst_vars(ignore[i], **vars)
if not os.path.exists(src) and not force:
if logger is not None: