summaryrefslogtreecommitdiffstats
path: root/test/build-errors.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-09-19 23:08:50 (GMT)
committerSteven Knight <knight@baldmt.com>2004-09-19 23:08:50 (GMT)
commit39a2ebca7357684025d84ffc2c5821e21fa7fb9c (patch)
treee0f1094b9735b22deac5d7f19e41d962fe3f10d0 /test/build-errors.py
parent07ba45e583a9f03e9a7b91212e165d45d1df1978 (diff)
downloadSCons-39a2ebca7357684025d84ffc2c5821e21fa7fb9c.zip
SCons-39a2ebca7357684025d84ffc2c5821e21fa7fb9c.tar.gz
SCons-39a2ebca7357684025d84ffc2c5821e21fa7fb9c.tar.bz2
Win32 portability fixes for tests.
Diffstat (limited to 'test/build-errors.py')
-rw-r--r--test/build-errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/build-errors.py b/test/build-errors.py
index f64786f..67dac20 100644
--- a/test/build-errors.py
+++ b/test/build-errors.py
@@ -189,7 +189,7 @@ else:
test.write('SConstruct4', r"""
env = Environment()
-env.Command('test.out', 'test.in', 'cp $SOURCE $TARGET')
+env.Command('test.out', 'test.in', Copy('$TARGET', '$SOURCE'))
env.InstallAs('test2.out', 'test.out')
# Mark test2.out as precious so we'll handle the exception in
# FunctionAction() rather than when the target is cleaned before building.