From eecfd97b99b40abb9a8d2d4315d9ccc77f8419bc Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Mon, 13 Aug 2012 10:33:27 +0300 Subject: [PATCH] Remove the "lua/" prefix from script search paths --- src/misc/scan_scripts.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/misc/scan_scripts.c b/src/misc/scan_scripts.c index 6c3c9b9..0985653 100644 --- a/src/misc/scan_scripts.c +++ b/src/misc/scan_scripts.c @@ -435,10 +435,10 @@ typedef enum static const gchar *dir[] = { - "lua/playlist/", - "lua/media/", - "lua/scan/", - "lua/util/", + "playlist/", + "media/", + "scan/", + "util/", NULL }; @@ -535,7 +535,7 @@ static gboolean dir_exists(const gchar *path) extern void l_modify_pkgpath(_quvi_t, const gchar*); -#define Q_COMMON_DIR "lua/common" +#define Q_COMMON_DIR "common" /* * Check for the "common" directory, if found, append the path to the @@ -612,7 +612,7 @@ QuviError m_scan_scripts(_quvi_t q) show_script = g_getenv("LIBQUVI_SHOW_SCRIPT"); show_dir = g_getenv("LIBQUVI_SHOW_DIR"); - chk_common_scripts(q); /* Ignore what lua/common/ holds. */ + chk_common_scripts(q); rc = _glob_scripts(q, GLOB_UTIL_SCRIPTS, &q->scripts.util) ? QUVI_OK -- 2.11.4.GIT