diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index e032dd0796..cee48ced28 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -394,6 +394,9 @@ done # Lua Scripts Files # got to be careful with names here for x in $BUILD_ROOT/../scripts/*.lua ; do + if test "${x:0:1}" = "_"; then + continue; + fi cp "$x" $LuaScripts done diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index c05e25638e..68bb675626 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -401,6 +401,9 @@ done # Lua Script Files # got to be careful with names here for x in $BUILD_ROOT/../scripts/*.lua ; do + if test "${x:0:1}" = "_"; then + continue; + fi cp "$x" $LuaScripts done