Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/activity/bundlebuilder.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/activity/bundlebuilder.py')
-rw-r--r--sugar/activity/bundlebuilder.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py
index ce47768..e4e6f19 100644
--- a/sugar/activity/bundlebuilder.py
+++ b/sugar/activity/bundlebuilder.py
@@ -273,8 +273,9 @@ def cmd_release(bundle_name, manifest):
repo = os.environ['ACTIVITIES_REPOSITORY']
server, path = repo.split(':')
- cmd = '"rm %s/%s*"' % (path, bundle_name)
- retcode = subprocess.call(['ssh', server, cmd])
+ retcode = subprocess.call(['ssh', server, 'mv',
+ '%s/%s*' % (path, bundle_name),
+ '%s/old' % path])
if retcode:
print 'ERROR - cannot remove old bundles from the repository.'