diff options
author | Steven Knight <knight@baldmt.com> | 2003-09-08 04:01:32 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-09-08 04:01:32 (GMT) |
commit | 68b5dfbc87552d4cd1a9c067f6ba4523d9560bb9 (patch) | |
tree | 910dcf1998d6b72aa8eb4bdb5497177d331ea900 /test/Repository/Local.py | |
parent | 61d018dfceac6cb9717caeeea7125d7a55b4b0eb (diff) | |
download | SCons-68b5dfbc87552d4cd1a9c067f6ba4523d9560bb9.zip SCons-68b5dfbc87552d4cd1a9c067f6ba4523d9560bb9.tar.gz SCons-68b5dfbc87552d4cd1a9c067f6ba4523d9560bb9.tar.bz2 |
Give the global functions corresponding Environment methods.
Diffstat (limited to 'test/Repository/Local.py')
-rw-r--r-- | test/Repository/Local.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Repository/Local.py b/test/Repository/Local.py index 1163767..5962095 100644 --- a/test/Repository/Local.py +++ b/test/Repository/Local.py @@ -52,7 +52,7 @@ def copy(env, source, target): open(target, "wb").write(open(source, "rb").read()) Build = Builder(action=copy) -env = Environment(BUILDERS={'Build':Build}) +env = Environment(BUILDERS={'Build':Build}, BBB='bbb') env.Build('aaa.mid', 'aaa.in') env.Build('aaa.out', 'aaa.mid') Local('aaa.out') @@ -70,7 +70,7 @@ def bbb_copy(env, source, target): Import("env") env.Build('bbb.1', 'bbb.0') -Local('bbb.1') +env.Local('${BBB}.1') env.Command('bbb.2', 'bbb.x', bbb_copy) env.Depends('bbb.2', 'bbb.1') """) |