Commits

Michał Górny  committed 857ac74

Support case when environment.bz2 does not include 'declare' before variables.

  • Participants
  • Parent commits 5bd4745

Comments (0)

Files changed (1)

File smart-live-rebuild.py

 db = portage.db[root]["vartree"].dbapi
 
 utfdec = codecs.getdecoder('utf8')
-declre = re.compile('^declare -[-x] ([A-Z_]+)="(.*)"$')
+declre = re.compile('^(?:declare -[-x] )?([A-Z_]+)="(.*)"$')
 
 rebuilds = {}