From 3cd3eb4cf69db3385b3d8e4eff37910a789d428c Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 4 Nov 2013 13:34:38 -0600 Subject: mpv2.py: escape + in pkg regex so name are found --- build_tools/bin/mpv2.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +# -- cgit v0.12