projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b5aeab
)
spawn rsync without a shell. (trunk r6050:6051)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Feb 2007 00:57:24 +0000
(
00:57
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 23 Feb 2007 00:57:24 +0000
(
00:57
-0000)
svn path=/main/branches/2.1.2/; revision=6052
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 8d9b7ccb0cfd517cf0b7e5979ed3afca7e1cb85e..33d6fc354cc37267d4349229550d60ae5551048a 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-3970,7
+3970,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.portage_exec.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]: