Fixed copying of tapinstall.exe to dist/bin when using prebuilt TAP-drivers

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>
(cherry picked from commit 343037a99708bd7785de10cc5be37a150609bd01)
This commit is contained in:
Samuli Seppänen 2011-04-14 17:43:40 +03:00 committed by David Sommerseth
parent 8cf7903c31
commit f71233577e

View File

@ -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')