Scons: do not subst %var%, as I am told that they are changed to @var@

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16367 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2006-12-21 15:21:30 +00:00
parent 6e02338328
commit 0dadb5c0ff

View File

@ -68,7 +68,6 @@ def env_subst(target, source, env):
# multi-line replacement
val = val.replace('\n',r'\\n\\\n')
contents = re.sub('@'+k+'@', val, contents)
contents = re.sub('%'+k+'%', val, contents)
except:
pass
target_file.write(contents + "\n")