From: Samuli Seppänen Date: Thu, 14 Apr 2011 14:43:40 +0000 (+0300) Subject: Fixed copying of tapinstall.exe to dist/bin when using prebuilt TAP-drivers X-Git-Tag: v2.2.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f71233577e573c5d1dc0cd711b7b78867a7853be;p=thirdparty%2Fopenvpn.git Fixed copying of tapinstall.exe to dist/bin when using prebuilt TAP-drivers Signed-off-by: Samuli Seppänen Acked-by: David Sommerseth Signed-off-by: David Sommerseth (cherry picked from commit 343037a99708bd7785de10cc5be37a150609bd01) --- diff --git a/win/make_dist.py b/win/make_dist.py index 29eb2d291..edb0e6ad1 100644 --- a/win/make_dist.py +++ b/win/make_dist.py @@ -94,7 +94,7 @@ def main(config, tap=True): dest = {'amd64' : amd64, 'i386' : i386} for dirpath, dirnames, filenames in os.walk(home_fn(ti_dir)): for f in filenames: - if f == 'devcon.exe': + if f in ( 'devcon.exe', 'tapinstall.exe' ): dir_name = os.path.basename(dirpath) src = os.path.join(dirpath, f) dst = os.path.join(dest[dir_name],'tapinstall.exe')