]> git.lyx.org Git - lyx.git/commitdiff
Revert the not needed part for 'Run in place', as it was already done
authorKornel Benko <kornel@lyx.org>
Sat, 21 May 2011 14:15:55 +0000 (14:15 +0000)
committerKornel Benko <kornel@lyx.org>
Sat, 21 May 2011 14:15:55 +0000 (14:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38805 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/Package.cpp

index f21c976dd2389e0a54314136695510547b505b64..ec08a55b7be91ff6058a6185a83ecea416f662f5 100644 (file)
@@ -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;