|
|
@ -117,8 +117,10 @@ class VariableClUpdateSystemProfile(ReadonlyVariable):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
def get(self):
|
|
|
|
def get(self):
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
make_profile = self.Get('cl_make_profile')
|
|
|
|
return path.normpath(
|
|
|
|
return path.normpath(
|
|
|
|
path.join('/etc',os.readlink('/etc/make.profile')))
|
|
|
|
path.join(path.dirname(make_profile),
|
|
|
|
|
|
|
|
os.readlink(make_profile)))
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
raise VariableError(_("Failed to determine system profile"))
|
|
|
|
raise VariableError(_("Failed to determine system profile"))
|
|
|
|
|
|
|
|
|
|
|
|