Fix a bug in devcon source code handling

The win/config_ti.py build script assumes to find ../tapinstall/7600/sources.in
which does not exists in devcon.exe source code directory. This makes
config_ti.py look for ../tapinstall/7600/sources instead.

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: David Sommerseth <dazo@users.sourceforge.net>
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
This commit is contained in:
Samuli Seppänen 2011-04-14 17:40:33 +03:00 committed by David Sommerseth
parent ca4c6d618d
commit a18752d4fe

View file

@ -7,7 +7,7 @@ def main(config):
shutil.rmtree(dest, ignore_errors=True)
shutil.copytree(src, dest)
preprocess(config,
in_fn=os.path.join(dest, 'sources.in'),
in_fn=os.path.join(src, 'sources'),
out_fn=os.path.join(dest, 'sources'),
if_prefix='!',
head_comment='# %s\n\n' % autogen)