change linux back to ~/.panda3d

This commit is contained in:
David Rose 2009-10-21 15:43:13 +00:00
parent c84026fd51
commit 27e7a3c475

View File

@ -248,8 +248,8 @@ find_root_dir() {
return root;
}
#else // _WIN32
// e.g., /home/<username>/Panda3D
#else // The Linux case
// e.g., /home/<username>/.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;
}