From e307b60811d82d9ceace566882da3a0c2af8a4aa Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sat, 21 May 2011 14:15:55 +0000 Subject: [PATCH] Revert the not needed part for 'Run in place', as it was already done git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38805 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/Package.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/support/Package.cpp b/src/support/Package.cpp index f21c976dd2..ec08a55b7b 100644 --- a/src/support/Package.cpp +++ b/src/support/Package.cpp @@ -573,19 +573,6 @@ get_system_support_dir(FileName const & abs_binary, if (!fileSearch(path.absFileName(), chkconfig_ltx).empty()) return path; -#if defined(LYX_ABS_TOP_SRCDIR) - { - string const dir = fix_dir_name(LYX_ABS_TOP_SRCDIR); - path = makeAbsPath(dir); - FileName path2(addPath(path.absFileName(), "lib")); - searched_dirs.push_back(path2); - FileName const abs_path = fileSearch(path2.absFileName(), chkconfig_ltx); - if (! abs_path.empty()) { - return path2; - } - } - -#endif // Everything has failed :-( // So inform the user and exit. string searched_dirs_str; -- 2.39.2