fix release2.2 : lua template linux：copy lua scripts when building
Merge pull request #3798 from dabingnn/release22_bug_hot_fix

[ci skip]Release22 bug hot fix