# HG changeset patch # User Kim Alvefur # Date 1602157748 -7200 # Node ID fcc6b92869d46b9d28b607de9e92a3a93a64c7a1 # Parent a8aacfbdaea9e61429eaaf18bbdc940fe008b512 mod_admin_web: Really fix luarocks build spec diff -r a8aacfbdaea9 -r fcc6b92869d4 mod_admin_web/README.markdown --- a/mod_admin_web/README.markdown Thu Oct 08 12:26:56 2020 +0200 +++ b/mod_admin_web/README.markdown Thu Oct 08 13:49:08 2020 +0200 @@ -6,11 +6,12 @@ build: platforms: unix: - copy_directories: - - admin_web/www_files type: command - build_command: sh admin_web/get_deps.sh - install_command: cp admin_web/mod_admin_web.lua $(LUADIR) + build_command: cd admin_web; sh get_deps.sh + install_command: | + cd admin_web; + cp mod_admin_web.lua $(LUADIR); + cp -r www_files $(PREFIX); ... Introduction diff -r a8aacfbdaea9 -r fcc6b92869d4 mod_admin_web/admin_web/mod_admin_web.lua --- a/mod_admin_web/admin_web/mod_admin_web.lua Thu Oct 08 12:26:56 2020 +0200 +++ b/mod_admin_web/admin_web/mod_admin_web.lua Thu Oct 08 13:49:08 2020 +0200 @@ -133,7 +133,7 @@ local path = module:get_directory() .. "/www_files"; if module.resource_path then -- Available from trunk be73df6765b9 if installed via luarocks - path = module.resource_path .. "/admin_web/www_files"; + path = module.resource_path .. "/www_files"; end local serve_file = serve { path = path;