diff options
Diffstat (limited to 'win/tap_span.py')
-rw-r--r-- | win/tap_span.py | 14 |
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():
|