From 19bb25a61526c34008fbf8fd45a0ec8ca9b8f537 Mon Sep 17 00:00:00 2001 From: kanschat Date: Sun, 4 Dec 2011 22:55:01 +0000 Subject: [PATCH] Had to make sure that we only keep files in the current directory git-svn-id: https://svn.dealii.org/trunk@24788 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/scripts/make_dependencies.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/common/scripts/make_dependencies.cc b/deal.II/common/scripts/make_dependencies.cc index 3880244593..4b024b9c8c 100644 --- a/deal.II/common/scripts/make_dependencies.cc +++ b/deal.II/common/scripts/make_dependencies.cc @@ -209,7 +209,7 @@ void determine_direct_includes (const std::string &file) // it will be generated by make // later, so we better keep it // on the list. - if (included_file.rfind(".inst") != (included_file.size()-5)) { + if (line[pos] != '"' || included_file.rfind(".inst") != (included_file.size()-5)) { struct stat buf; int error = stat (included_file.c_str(), &buf); -- 2.39.5