|
|
|
@ -291,7 +291,7 @@ class fillVars(glob_attr):
|
|
|
|
|
makeprofile = '/etc/make.profile'
|
|
|
|
|
if os.path.exists(makeprofile):
|
|
|
|
|
link = os.readlink(makeprofile)
|
|
|
|
|
reMakeProfileLink = re.compile('calculate/(desktop|server)/(%s)'%
|
|
|
|
|
reMakeProfileLink = re.compile('/calculate/(desktop|server)/(%s)/'%
|
|
|
|
|
"|".join(self.dictLinuxName.keys()),re.S)
|
|
|
|
|
shortnameSearch = reMakeProfileLink.search(link)
|
|
|
|
|
if shortnameSearch:
|
|
|
|
|