diff options
author | Steven Knight <knight@baldmt.com> | 2002-03-16 04:38:43 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-03-16 04:38:43 (GMT) |
commit | 0bfa6712f6b0ba40f7df806ec35a40fa056f026f (patch) | |
tree | 821e70780eb384562d222a2e8cbfe8f4e78a430d /etc | |
parent | d274d685b3fae62354a7c3deb0622e2edd81b0c7 (diff) | |
download | SCons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.zip SCons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.tar.gz SCons-0bfa6712f6b0ba40f7df806ec35a40fa056f026f.tar.bz2 |
Make FunctionAction arguments be Nodes, not strings. (Charles Crain)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/SConscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/SConscript b/etc/SConscript index a55fe67..96a464d 100644 --- a/etc/SConscript +++ b/etc/SConscript @@ -36,8 +36,10 @@ files = [ ] def copy(target, source, env): - print "copy() < %s > %s" % (source[0], target) - open(target, 'wb').write(open(source[0], 'rb').read()) + t = str(target[0]) + s = str(source[0]) + print "copy() < %s > %s" % (s, t) + open(t, 'wb').write(open(s, 'rb').read()) for file in files: # Guarantee that real copies of these files always exist in |