]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Had to make sure that we only keep files in the current directory
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 4 Dec 2011 22:55:01 +0000 (22:55 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 4 Dec 2011 22:55:01 +0000 (22:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@24788 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/make_dependencies.cc

index 3880244593795997ce92857045d49aca08aa6b06..4b024b9c8cbb8e47f766f3e635e400a0c21eb2c5 100644 (file)
@@ -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);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.