]> git.lyx.org Git - lyx.git/commitdiff
Scons: do not subst %var%, as I am told that they are changed to @var@
authorBo Peng <bpeng@lyx.org>
Thu, 21 Dec 2006 15:21:30 +0000 (15:21 +0000)
committerBo Peng <bpeng@lyx.org>
Thu, 21 Dec 2006 15:21:30 +0000 (15:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16367 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/scons_utils.py

index 255aa1c78baf4a0c063462d9b01cea433d2adddd..defdcdb71954694fbe09c44815fa2eca3517d208 100644 (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")