summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--grandlyon/scripts/copy-portal-users.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grandlyon/scripts/copy-portal-users.py b/grandlyon/scripts/copy-portal-users.py
index 6891ba1..9108e39 100644
--- a/grandlyon/scripts/copy-portal-users.py
+++ b/grandlyon/scripts/copy-portal-users.py
@@ -31,4 +31,4 @@ subprocess.call(['sudo', '-u', 'combo', 'combo-manage', 'tenant_command', 'runsc
orig_media_dir = '/var/lib/combo/tenants/%s/media' % orig_site
if os.path.exists(orig_media_dir) and os.listdir(orig_media_dir):
- subprocess.call(['sudo', '-u', 'combo', 'cp', '-ar', orig_media_dir + '*', '/var/lib/combo/tenants/%s/' % dest_site])
+ subprocess.call(['sudo', '-u', 'combo', 'cp', '-ar', orig_media_dir, '/var/lib/combo/tenants/%s/' % dest_site])