Skip to content

Commit

Permalink
iOS/tvOS: fixing pure Lua plugins in lua_51 directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Shchvova committed Jun 8, 2020
1 parent 7349419 commit 97ff5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/buildsys-ios/libtemplate/build_output.sh
Expand Up @@ -57,7 +57,7 @@ then
# lua/$LUA_VM/plugin/foo/bar/baz.lua -> plugin.foo.bar.baz.lu
# plugin/foo/bar/baz.lua -> plugin.foo.bar.baz.lu
find . -type f -name "*.lua" ! -name 'metadata.lua' | while read -r luaFile; do
newName=$(echo "$luaFile" | sed -e 's#\./##' -e "s#^lua/$LUA_VM/##" -e 's#\.lua$#\.lu#' | tr '/' '.')
newName=$(echo "$luaFile" | sed -e 's#\./##' -e "s#^lua/##" -e "s#^$LUA_VM/##" -e 's#\.lua$#\.lu#' | tr '/' '.')
mkdir -p "$collectedLuaPluginsDir"
mv "$luaFile" "$collectedLuaPluginsDir/$newName"
done
Expand Down

0 comments on commit 97ff5fc

Please sign in to comment.