You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by aj...@apache.org on 2003/09/27 00:01:34 UTC
cvs commit: jakarta-gump/python/gump tools.py
ajack 2003/09/26 15:01:34
Modified: python/gump tools.py
Log:
This needs more unit tests, next week...
Revision Changes Path
1.3 +3 -3 jakarta-gump/python/gump/tools.py
Index: tools.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/tools.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tools.py 26 Sep 2003 19:09:52 -0000 1.2
+++ tools.py 26 Sep 2003 22:01:34 -0000 1.3
@@ -93,19 +93,19 @@
# workspace.sync = default.syncCommand
if context.noRSync:
- cmd=Cmd('cp','sync_'+module.name,dir.work)
+ cmd=Cmd('cp','sync_'+name,dir.work)
cmd.addParameter('-Rf')
cmd.addParameter(sourcedir)
cmd.addParameter(destdir)
else:
- cmd=Cmd('rsync','rsync_'+module.name,dir.work)
+ cmd=Cmd('rsync','rsync_'+name,dir.work)
cmd.addParameter('-r')
cmd.addParameter('-a')
cmd.addParameter('--delete')
cmd.addParameter(sourcedir)
cmd.addParameter(destdir)
- log.debug(' ------ Sync\'ing : '+ module.name)
+ log.debug(' ------ Sync\'ing : '+ name)
# Perform the Sync
cmdResult=execute(cmd,workspace.tmpdir)