summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/emerge b/bin/emerge
index 16317abf0..f399c661d 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2967,9 +2967,8 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
if "--quiet" not in myopts:
print ">>> Checking server timestamp ..."
- rsynccommand = " ".join(["/usr/bin/rsync",
- settings["PORTAGE_RSYNC_EXTRA_OPTS"],
- " ".join(rsync_opts)])
+ rsynccommand = " ".join(["/usr/bin/rsync", " ".join(rsync_opts),
+ settings.get("PORTAGE_RSYNC_EXTRA_OPTS","")])
if "--debug" in myopts:
print rsynccommand