summaryrefslogtreecommitdiffstats
path: root/test/build-errors.py
diff options
context:
space:
mode:
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.