summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/lua/rockconf.h2
-rwxr-xr-xtools/buildzip.pl3
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/lua/rockconf.h b/apps/plugins/lua/rockconf.h
index 67994bb3ca..639f336b5b 100644
--- a/apps/plugins/lua/rockconf.h
+++ b/apps/plugins/lua/rockconf.h
@@ -29,7 +29,7 @@
29#undef luai_jmpbuf 29#undef luai_jmpbuf
30 30
31#undef LUA_PATH_DEFAULT 31#undef LUA_PATH_DEFAULT
32#define LUA_PATH_DEFAULT "$/?.lua;" VIEWERS_DIR"/?.lua;" 32#define LUA_PATH_DEFAULT "$/?.lua;" "$/?/init.lua;" VIEWERS_DIR"/lua/?.lua;" VIEWERS_DIR"/lua/?/init.lua;"
33 33
34#ifndef SIMULATOR 34#ifndef SIMULATOR
35#include "../../codecs/lib/setjmp.h" 35#include "../../codecs/lib/setjmp.h"
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index d21fd8e557..a3ac75fa30 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -429,7 +429,8 @@ STOP
429 glob_copy('apps/lang/*lng', "$rbdir/langs/"); 429 glob_copy('apps/lang/*lng', "$rbdir/langs/");
430 430
431 # copy the .lua files 431 # copy the .lua files
432 glob_copy('apps/plugins/lua/*.lua', "$rbdir/rocks/viewers/"); 432 mkdir "$rbdir/rocks/viewers/lua/", 0777;
433 glob_copy('apps/plugins/lua/*.lua', "$rbdir/rocks/viewers/lua/");
433} 434}
434 435
435my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = 436my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =