ease found of perl in windows setup

This commit is contained in:
Josip 2014-04-10 08:12:25 +02:00
parent 9c4aa37b8c
commit 01011b3e11

View File

@ -68,7 +68,7 @@ def intltool_version():
cmd = ["perl", "-e print qx(intltool-update --version) =~ m/(\d+.\d+.\d+)/;"] cmd = ["perl", "-e print qx(intltool-update --version) =~ m/(\d+.\d+.\d+)/;"]
try: try:
ver, ret = subprocess.Popen(cmd ,stdout=subprocess.PIPE, ver, ret = subprocess.Popen(cmd ,stdout=subprocess.PIPE,
stderr=subprocess.PIPE).communicate() stderr=subprocess.PIPE, shell=True).communicate()
if sys.version_info[0] > 2: if sys.version_info[0] > 2:
ver = ver.decode("utf-8") ver = ver.decode("utf-8")
if ver > "": if ver > "":