(trunk r15353)
svn path=/main/branches/2.1.7/; revision=15580
CHOST variable, so revert it to the initial
setting.
"""
+ if settings.get('CATEGORY') == 'virtual':
+ return
+
chost = settings.get('CHOST')
if chost:
write_atomic(os.path.join(settings['PORTAGE_BUILDDIR'],
slot = ''
for var_name in ('CHOST', 'SLOT'):
+ if var_name == 'CHOST' and self.cat == 'virtual':
+ try:
+ os.unlink(os.path.join(inforoot, var_name))
+ except OSError:
+ pass
+ continue
+
try:
val = codecs.open(_unicode_encode(
os.path.join(inforoot, var_name),