]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.C
make "make distcheck" work
[lyx.git] / src / support / path.C
index b3e46221d6d1682b7f59dc90ae5b2330833053b1..b7db0a299af77e212bb6d395b74ae8a0495d6cab 100644 (file)
@@ -13,8 +13,8 @@
 // Needed to prevent the definition of the unnamed_Path macro in the header file.
 #define PATH_C
 
-#include "path.h"
-#include "lyxlib.h"
+#include "support/path.h"
+#include "support/lyxlib.h"
 
 
 using std::string;
@@ -28,6 +28,7 @@ Path::Path(string const & path)
 {
        if (!path.empty()) {
                pushedDir_ = getcwd();
+
                if (pushedDir_.empty() || chdir(path))
                        /* FIXME: throw */;
        } else {