diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 01:11:55 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 01:11:55 (GMT) |
commit | e32202799670de1db59cfb0d0a7d2f0938e6ad5f (patch) | |
tree | 4b99c8f2d290a43abf8a255145ab9918cb2e61b4 | |
parent | de8b3b4c01d57bcd901a0302a4b685cb1da1a7cf (diff) |
Some setup.py release fixes
-rw-r--r-- | sugar/activity/bundlebuilder.py | 5 |
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.' |