aboutsummaryrefslogtreecommitdiff
path: root/win/tap_span.py
diff options
context:
space:
mode:
authorSamuli Seppänen <samuli@openvpn.net>2011-03-08 16:07:49 +0200
committerDavid Sommerseth <davids@redhat.com>2011-03-21 15:15:12 +0100
commit0c03c731a80399998cc4b03a35ffad2961c7b369 (patch)
tree9bfd3ff8c63e0d8f63ba8102ea691402b075d6b8 /win/tap_span.py
parentImplement IPv6 in TUN mode for Windows TAP driver. (diff)
downloadopenvpn-0c03c731a80399998cc4b03a35ffad2961c7b369.tar.xz
Added support for prebuilt TAP-drivers. Automated embedding manifests.
Removed win/make_dist.py's dependency on TAP-driver and tapinstall.exe building. Also added manifest embedding commands to win/make_dist.py. To avoid duplicate code moved the "build_vc" method from win/build.py to win/wb.py and renamed it "run_in_vs_shell". Signed-off-by: Samuli Seppänen <samuli@openvpn.net> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to '')
-rw-r--r--win/tap_span.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/win/tap_span.py b/win/tap_span.py
index 9cd127b..82c60d3 100644
--- a/win/tap_span.py
+++ b/win/tap_span.py
@@ -23,13 +23,13 @@ def copy_tap(src, dest, x64):
def copy_tapinstall(src, dest, x64):
base = { False : 'i386', True: 'amd64' }[x64]
- mkdir_silent(dest)
- for dirpath, dirnames, filenames in os.walk(home_fn(src)):
- for f in filenames:
- if f == 'tapinstall.exe':
- dir_name = os.path.basename(dirpath)
- s = os.path.join(dirpath, f)
- if dir_name == base:
+ mkdir_silent(dest)
+ for dirpath, dirnames, filenames in os.walk(home_fn(src)):
+ for f in filenames:
+ if f == 'devcon.exe':
+ dir_name = os.path.basename(dirpath)
+ s = os.path.join(dirpath, f)
+ if dir_name == base:
cp(s, dest)
def main():