summaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-11-04 19:34:38 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-11-04 19:34:38 (GMT)
commit3cd3eb4cf69db3385b3d8e4eff37910a789d428c (patch)
treef84945b3fdd60cb82e49bd6d300e9473b6a3e96f /build_tools
parent269a45e067c0b3996632205faa89774cc2256a40 (diff)
downloadlinhes_dev-3cd3eb4cf69db3385b3d8e4eff37910a789d428c.zip
mpv2.py: escape + in pkg regex so name are found
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/bin/mpv2.py4
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
+#