Change rules profile shortname.

master
Mike Hiretsky 14 years ago
parent ee541c7506
commit bba2e85c26

@ -541,7 +541,8 @@ class cl_builder(color_print):
if len(distros) == 1:
newprofile = distros[0]
newprofile = newprofile or ""
likeProfile = filter(lambda x:newprofile in x,
reProfile = re.compile('(^|/)%s(/|$)'%newprofile.strip('/'),re.S)
likeProfile = filter(reProfile.search,
self.clVars.Get('cl_builder_distro'))
if len(likeProfile) != 1:
if newprofile != "list":

Loading…
Cancel
Save