diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-11-04 19:34:38 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-11-04 19:34:38 (GMT) |
commit | 3cd3eb4cf69db3385b3d8e4eff37910a789d428c (patch) | |
tree | f84945b3fdd60cb82e49bd6d300e9473b6a3e96f /build_tools/bin | |
parent | 269a45e067c0b3996632205faa89774cc2256a40 (diff) | |
download | linhes_dev-3cd3eb4cf69db3385b3d8e4eff37910a789d428c.zip |
mpv2.py: escape + in pkg regex so name are found
Diffstat (limited to 'build_tools/bin')
-rwxr-xr-x | build_tools/bin/mpv2.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build_tools/bin/mpv2.py b/build_tools/bin/mpv2.py index b21ed29..d2991e7 100755 --- a/build_tools/bin/mpv2.py +++ b/build_tools/bin/mpv2.py @@ -320,6 +320,8 @@ class Packagefile(object): package_version = None pkgregext="^%s$" %split_package_name + #escape + in regex so pkgs with + in the name are found + pkgregext = pkgregext.replace('+', '\+') command = ["pacman" , "-Ss" , pkgregext ] #print " Checking for dependencies in repository: %s" %i p = subprocess.Popen(command, stdout = subprocess.PIPE,) @@ -1043,4 +1045,4 @@ if __name__ == "__main__": #libsig #libxml++ dep search and compile -#
\ No newline at end of file +# |