summaryrefslogtreecommitdiff
path: root/test/Install
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2006-11-04 05:31:24 +0000
committerSteven Knight <knight@baldmt.com>2006-11-04 05:31:24 +0000
commit1762fa36021c69466c66f9297caa7551c2fe11dc (patch)
tree6631963b4e4521d9a9a643edc1269409083e4651 /test/Install
parent6ba3fe1e1af2743602a4d0c55513deecc7e16df0 (diff)
downloadscons-1762fa36021c69466c66f9297caa7551c2fe11dc.tar.gz
Merged revisions 1667-1674 via svnmerge from
http://scons.tigris.org/svn/scons/branches/core ........ r1672 | stevenknight | 2006-11-03 23:11:52 -0600 (Fri, 03 Nov 2006) | 1 line 0.96.D480 - Don't use UNIX logic to detect an executable qmtest.py on Windows. ........ r1673 | stevenknight | 2006-11-03 23:18:59 -0600 (Fri, 03 Nov 2006) | 1 line 0.96.D481 - Remove the print statement from the previous checkin. ........ r1674 | stevenknight | 2006-11-03 23:25:43 -0600 (Fri, 03 Nov 2006) | 1 line 0.96.D482 - Create a env.Clone() method and encourage its use in favor of env.Copy(). ........
Diffstat (limited to 'test/Install')
-rw-r--r--test/Install/Install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Install/Install.py b/test/Install/Install.py
index e24641be..3c1dc49f 100644
--- a/test/Install/Install.py
+++ b/test/Install/Install.py
@@ -64,7 +64,7 @@ def my_install(dest, source, env):
env1 = Environment()
env1.Append(BUILDERS={'Cat':Builder(action=cat)})
-env3 = env1.Copy(INSTALL = my_install)
+env3 = env1.Clone(INSTALL = my_install)
t = env1.Cat(target='f1.out', source='f1.in')
env1.Install(dir='export', source=t)
@@ -74,7 +74,7 @@ Install(dir='export', source=t)
t = env3.Cat(target='f3.out', source='f3.in')
env3.Install(dir='export', source=t)
-env4 = env1.Copy(EXPORT='export', SUBDIR='sub')
+env4 = env1.Clone(EXPORT='export', SUBDIR='sub')
t = env4.Cat(target='sub/f4.out', source='sub/f4.in')
env4.Install(dir='$EXPORT', source=r'%(_SUBDIR_f4_out)s')