projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f64e6
)
spawn rsync without a shell.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Feb 2007 00:56:06 +0000
(
00:56
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Feb 2007 00:56:06 +0000
(
00:56
-0000)
svn path=/main/trunk/; revision=6051
pym/emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/emerge/__init__.py
b/pym/emerge/__init__.py
index 91b265669b48a8eb34a08df8b140f87b5b107491..f96db811e85df8845a6404e3fa103b77f917a176 100644
(file)
--- a/
pym/emerge/__init__.py
+++ b/
pym/emerge/__init__.py
@@
-4030,7
+4030,9
@@
def action_sync(settings, trees, mtimedb, myopts, myaction):
elif (servertimestamp == 0) or (servertimestamp > mytimestamp):
# actual sync
mycommand=rsynccommand+" "+dosyncuri+"/ "+myportdir
- exitcode=portage.spawn(mycommand,settings,free=1)
+ mycommand = mycommand.split()
+ exitcode = portage.process.spawn(mycommand,
+ env=settings.environ())
if exitcode in [0,1,2,3,4,11,14,20,21]:
break
elif exitcode in [0,1,2,3,4,11,14,20,21]: