Fix buildutil regex
Review URL: http://chromereview.prom.corp.google.com/1187037
git-svn-id: svn://chrome-svn/chromeos/trunk@230 06c00378-0e64-4dae-be16-12b19f9950a1
diff --git a/buildutil.py b/buildutil.py
index 1aeb27f..1d83b36 100644
--- a/buildutil.py
+++ b/buildutil.py
@@ -29,7 +29,7 @@
class BuildUtil(BuildObject):
def GetPackageName(self, pkg_path):
- cmd = "cat %s/debian/control | grep Package | cut -d \" \" -f 2-" % pkg_path
+ cmd = "cat %s/debian/control | grep Package: | cut -d \" \" -f 2-" % pkg_path
return os.popen(cmd).read().strip()
def GetLastBuildTime(self, pkg_name):
@@ -116,4 +116,3 @@
"output_file_name": build_file
}
return pkgs
-