summaryrefslogtreecommitdiffstats
path: root/site_scons/site_tools/replicate.py
diff options
context:
space:
mode:
authorbradnelson@chromium.org <bradnelson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 19:35:47 +0000
committerbradnelson@chromium.org <bradnelson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 19:35:47 +0000
commit5a17959168f700202c3ee498e88cca7bcfa43a97 (patch)
treef0c8d497ded5551516310cebec76c3395880c19c /site_scons/site_tools/replicate.py
parentaedd85af7d7d0c90ed343ece4c66660db00841ec (diff)
downloadchromium_src-5a17959168f700202c3ee498e88cca7bcfa43a97.zip
chromium_src-5a17959168f700202c3ee498e88cca7bcfa43a97.tar.gz
chromium_src-5a17959168f700202c3ee498e88cca7bcfa43a97.tar.bz2
Pulling in hammer changes.
Review URL: http://codereview.chromium.org/13134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6370 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'site_scons/site_tools/replicate.py')
-rw-r--r--site_scons/site_tools/replicate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/site_scons/site_tools/replicate.py b/site_scons/site_tools/replicate.py
index b11ce14..e64ec36 100644
--- a/site_scons/site_tools/replicate.py
+++ b/site_scons/site_tools/replicate.py
@@ -50,15 +50,15 @@ def Replicate(env, target, source, **kw):
env: Environment in which to operate.
target: Destination(s) for copy. Must evaluate to a directory via
env.Dir(), or a list of directories. If more than one directory is
- passed, the entire source list will be copied to all target
- directories.
+ passed, the entire source list will be copied to each target
+ directory.
source: Source file(s) to copy. May be a string, Node, or a list of
mixed strings or Nodes. Strings will be passed through env.Glob() to
evaluate wildcards. If a source evaluates to a directory, the entire
directory will be recursively copied.
From env:
- REPLICATE_RENAME: A list of pairs of regex search and replacement strings.
+ REPLICATE_REPLACE: A list of pairs of regex search and replacement strings.
Each full destination path has substitution performed on each pair
(search_regex, replacement) in order.