diff options
author | Steven Knight <knight@baldmt.com> | 2002-02-25 22:44:34 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-02-25 22:44:34 (GMT) |
commit | 22377ca1715d2b67a5e72cdede0fb0103e4c7ff1 (patch) | |
tree | f6c258a93e60f2ec1132871dc9ea7e81a22c2d62 /etc/SConscript | |
parent | 8289435e0814081e0be0f8dbb096d0c59415f890 (diff) | |
download | SCons-22377ca1715d2b67a5e72cdede0fb0103e4c7ff1.zip SCons-22377ca1715d2b67a5e72cdede0fb0103e4c7ff1.tar.gz SCons-22377ca1715d2b67a5e72cdede0fb0103e4c7ff1.tar.bz2 |
Initialize the new branch.
Diffstat (limited to 'etc/SConscript')
-rw-r--r-- | etc/SConscript | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/etc/SConscript b/etc/SConscript index ce835b8..a55fe67 100644 --- a/etc/SConscript +++ b/etc/SConscript @@ -40,6 +40,10 @@ def copy(target, source, env): open(target, 'wb').write(open(source[0], 'rb').read()) for file in files: - env.Command(os.path.join('#build', 'etc', file), - file, - copy) + # Guarantee that real copies of these files always exist in + # build/etc. If there's a symlink there, then this is an Aegis + # build and we blow them away now so that they'll get "built" later. + p = os.path.join('build', 'etc', file) + if os.path.islink(p): + os.unlink(p) + env.Command(os.path.join('#' + p), file, copy) |