summaryrefslogtreecommitdiff
path: root/src/lib/evas/filters/evas_filter_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/filters/evas_filter_parser.c')
-rw-r--r--src/lib/evas/filters/evas_filter_parser.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c
index 264f6a6ffa..72308d2a9e 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -2262,7 +2262,13 @@ static char *_lua_color_code = NULL;
2262static inline void 2262static inline void
2263_lua_import_path_get(char *path, size_t len, const char *name) 2263_lua_import_path_get(char *path, size_t len, const char *name)
2264{ 2264{
2265 const char *pfx = _evas_module_datadir_get(); 2265 const char *pfx = NULL;
2266 /* a hack for in-tree runs, can point this to src/lib/evas */
2267 if (getenv("EFL_RUN_IN_TREE"))
2268 pfx = getenv("EFL_EVAS_FILTER_LUA_PREFIX");
2269 /* the real path not for in-tree runs */
2270 if (!pfx)
2271 pfx = _evas_module_datadir_get();
2266 size_t r = 0; 2272 size_t r = 0;
2267 2273
2268#ifdef FILTERS_DEBUG 2274#ifdef FILTERS_DEBUG