Browse Source

change linux back to ~/.panda3d

David Rose 16 years ago
parent
commit
27e7a3c475
1 changed files with 3 additions and 3 deletions
  1. 3 3
      direct/src/plugin/find_root_dir.cxx

+ 3 - 3
direct/src/plugin/find_root_dir.cxx

@@ -248,8 +248,8 @@ find_root_dir() {
     return root;
     return root;
   }
   }
 
 
-#else  // _WIN32
-  // e.g., /home/<username>/Panda3D
+#else  // The Linux case
+  // e.g., /home/<username>/.panda3d
 
 
   string root;
   string root;
   const char *uname = getlogin();
   const char *uname = getlogin();
@@ -262,7 +262,7 @@ find_root_dir() {
     root = pwdata->pw_dir;
     root = pwdata->pw_dir;
   }
   }
   
   
-  root += "/Panda3D";
+  root += "/.panda3d";
   if (mkdir(root.c_str(), 0700) == 0 || errno == EEXIST) {
   if (mkdir(root.c_str(), 0700) == 0 || errno == EEXIST) {
     return root;
     return root;
   }
   }