From: Bo Peng Date: Thu, 6 Sep 2007 05:05:28 +0000 (+0000) Subject: Fix previous commit. I really do not understand why windows FileName() can not have... X-Git-Tag: 1.6.10~8472 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c20795773e6420b375326784efbbc5d10474ee67;p=features.git Fix previous commit. I really do not understand why windows FileName() can not have backslash (assertion at line 49 of support/FileName.cpp) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20094 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/scons/SConstruct b/development/scons/SConstruct index 9160212e29..7b650c406d 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -1042,11 +1042,11 @@ result = utils.createConfigFile(conf, 'Date of release'), ('#define PROGRAM_SUFFIX "%s"' % program_suffix, 'Program version suffix'), - ('#define LYX_ABS_INSTALLED_DATADIR "%s"' % env.subst('$LYX_DATA_DIR').replace('\\', '\\\\'), + ('#define LYX_ABS_INSTALLED_DATADIR "%s"' % env.subst('$LYX_DATA_DIR').replace('\\', '/'), 'Hard coded system support directory'), - ('#define LYX_ABS_INSTALLED_LOCALEDIR "%s"' % env.subst('$LOCALEDIR').replace('\\', '\\\\'), + ('#define LYX_ABS_INSTALLED_LOCALEDIR "%s"' % env.subst('$LOCALEDIR').replace('\\', '/'), 'Hard coded locale directory'), - ('#define LYX_ABS_TOP_SRCDIR "%s"' % env.subst('$TOP_SRCDIR').replace('\\', '\\\\'), + ('#define LYX_ABS_TOP_SRCDIR "%s"' % env.subst('$TOP_SRCDIR').replace('\\', '/'), 'Top source directory'), ('#define BOOST_ALL_NO_LIB 1', 'disable automatic linking of boost libraries.'),