summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-23 16:47:23 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-23 16:47:23 +0000
commit9dfae978840ce54f0fe1ff2d0d8f4b723688bf01 (patch)
tree6f3e6e1760e425def1c8901c186ff538eebe3ebd
parentcb20579dcc46bee87f4b09286d64a356f031e546 (diff)
downloadrockbox-9dfae978840ce54f0fe1ff2d0d8f4b723688bf01.tar.gz
rockbox-9dfae978840ce54f0fe1ff2d0d8f4b723688bf01.zip
Fix matching of DLL name in deployment script.
Allow DLL filenames to contain the plus sign. Fixes libstdc++-6.dll not getting recognized as DLL. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28150 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xutils/common/deploy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/common/deploy.py b/utils/common/deploy.py
index 9912bfc2ca..fd1dcb4125 100755
--- a/utils/common/deploy.py
+++ b/utils/common/deploy.py
@@ -318,7 +318,7 @@ def finddlls(program, extrapaths = []):
318 dlls = [] 318 dlls = []
319 for line in cmdout[0].split('\n'): 319 for line in cmdout[0].split('\n'):
320 if re.match(r'\s*DLL Name', line) != None: 320 if re.match(r'\s*DLL Name', line) != None:
321 dll = re.sub(r'^\s*DLL Name:\s+([a-zA-Z_\-0-9\.]+).*$', r'\1', line) 321 dll = re.sub(r'^\s*DLL Name:\s+([a-zA-Z_\-0-9\.\+]+).*$', r'\1', line)
322 dlls.append(dll.lower()) 322 dlls.append(dll.lower())
323 323
324 # find DLLs in extrapaths and PATH environment variable. 324 # find DLLs in extrapaths and PATH environment variable.