diff options
author | Merov Linden <merov@lindenlab.com> | 2011-05-07 11:01:58 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-05-07 11:01:58 -0700 |
commit | 460aa3ade72fe999eebccb390ae371dfdfeaf125 (patch) | |
tree | 0f74ec821139deb23057956e89ef7d814c82c671 /indra/llvfs/lldir_linux.cpp | |
parent | c03eb76bcf66665ee8a7618dbec0d13e3fc66c32 (diff) | |
parent | 51c779b5e832a0c303b4c84c7263c7fed3bd9b30 (diff) |
Merge with viewer-experience
Diffstat (limited to 'indra/llvfs/lldir_linux.cpp')
-rw-r--r-- | indra/llvfs/lldir_linux.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llvfs/lldir_linux.cpp b/indra/llvfs/lldir_linux.cpp index 73f2336f94..72b54f5380 100644 --- a/indra/llvfs/lldir_linux.cpp +++ b/indra/llvfs/lldir_linux.cpp @@ -93,11 +93,11 @@ LLDir_Linux::LLDir_Linux() #else mAppRODataDir = tmp_str; #endif - std::string::size_type indra_pos = mExecutableDir.find("/indra"); - if (indra_pos != std::string::npos) + std::string::size_type build_dir_pos = mExecutableDir.rfind("/build-linux-"); + if (build_dir_pos != std::string::npos) { // ...we're in a dev checkout - mSkinBaseDir = mExecutableDir.substr(0, indra_pos) + "/indra/newview/skins"; + mSkinBaseDir = mExecutableDir.substr(0, build_dir_pos) + "/indra/newview/skins"; llinfos << "Running in dev checkout with mSkinBaseDir " << mSkinBaseDir << llendl; } |