aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-08-12 16:07:15 +0000
committerlloyd <[email protected]>2009-08-12 16:07:15 +0000
commitd7d27466ce03fc7870dd7d5ba3eda922675ad7e2 (patch)
tree54975a6ae6e0a440bec74c7485276f4d3220b78f
parentfdba61bb05f26f8ed979543b8ee9cfab96295800 (diff)
parent95d4eda7d22acadd20603d5102ca58e55f5c75f3 (diff)
propagate from branch 'net.randombit.botan' (head ea6531b1e5b0aa67db295a3d3617265b912aa3a1)
to branch 'net.randombit.botan.encrypt-n' (head 563c4447d6fa61869158874c2dbfa6e9be106803)
-rwxr-xr-xconfigure.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 5d7d6dd19..e4e6063e1 100755
--- a/configure.py
+++ b/configure.py
@@ -891,6 +891,11 @@ def setup_build(build_config, options, template_vars):
Copy or link the file, depending on what the platform offers
"""
def portable_symlink(filename, target_dir):
+
+ if not os.access(filename, os.R_OK):
+ logging.warning('Missing file %s' % (filename))
+ return
+
if 'symlink' in os.__dict__:
def count_dirs(dir, accum = 0):
if dir == '' or dir == os.path.curdir: