summaryrefslogtreecommitdiff
path: root/indra/llfilesystem/lldir.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-02-27 18:51:32 +0200
committerGitHub <noreply@github.com>2024-02-27 18:51:32 +0200
commit777586a1865b496f8bfea9651afbd481ea23b4f7 (patch)
tree0cecaa9b4be0958dc7ff126c30382da3781f1f60 /indra/llfilesystem/lldir.cpp
parentad32c066691152e6a23f025d6aa5ead0e91b7be9 (diff)
parentedf1a712a7ca8fd741514348e3304af6a766f4aa (diff)
Merge pull request #843 from secondlife/luau-require-impl
Initial require implementation
Diffstat (limited to 'indra/llfilesystem/lldir.cpp')
-rw-r--r--indra/llfilesystem/lldir.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llfilesystem/lldir.cpp b/indra/llfilesystem/lldir.cpp
index 69b23f9cf8..e3769c6afb 100644
--- a/indra/llfilesystem/lldir.cpp
+++ b/indra/llfilesystem/lldir.cpp
@@ -469,6 +469,7 @@ static std::string ELLPathToString(ELLPath location)
ENT(LL_PATH_DEFAULT_SKIN)
ENT(LL_PATH_FONTS)
ENT(LL_PATH_LAST)
+ ENT(LL_PATH_SCRIPTS)
;
#undef ENT
@@ -588,6 +589,10 @@ std::string LLDir::getExpandedFilename(ELLPath location, const std::string& subd
case LL_PATH_FONTS:
prefix = add(getAppRODataDir(), "fonts");
break;
+
+ case LL_PATH_SCRIPTS:
+ prefix = add(getAppRODataDir(), "scripts");
+ break;
default:
llassert(0);