mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
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:
parent
6e02338328
commit
0dadb5c0ff
@ -68,7 +68,6 @@ def env_subst(target, source, env):
|
|||||||
# multi-line replacement
|
# multi-line replacement
|
||||||
val = val.replace('\n',r'\\n\\\n')
|
val = val.replace('\n',r'\\n\\\n')
|
||||||
contents = re.sub('@'+k+'@', val, contents)
|
contents = re.sub('@'+k+'@', val, contents)
|
||||||
contents = re.sub('%'+k+'%', val, contents)
|
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
target_file.write(contents + "\n")
|
target_file.write(contents + "\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user