From 27e7a3c475cc791d7e54c7d192014d82e22cc031 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 21 Oct 2009 15:43:13 +0000 Subject: [PATCH] change linux back to ~/.panda3d --- direct/src/plugin/find_root_dir.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/src/plugin/find_root_dir.cxx b/direct/src/plugin/find_root_dir.cxx index ce5dfea97a..58805eb3d1 100755 --- a/direct/src/plugin/find_root_dir.cxx +++ b/direct/src/plugin/find_root_dir.cxx @@ -248,8 +248,8 @@ find_root_dir() { return root; } -#else // _WIN32 - // e.g., /home//Panda3D +#else // The Linux case + // e.g., /home//.panda3d string root; const char *uname = getlogin(); @@ -262,7 +262,7 @@ find_root_dir() { root = pwdata->pw_dir; } - root += "/Panda3D"; + root += "/.panda3d"; if (mkdir(root.c_str(), 0700) == 0 || errno == EEXIST) { return root; }