diff options
-rwxr-xr-x | tools/linux_packaging/build | 3 | ||||
-rwxr-xr-x | tools/osx_packaging/osx_build | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index cee48ced28..7367028355 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -394,7 +394,8 @@ 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 + BN=$(basename $x) + if test "${BN:0:1}" = "_"; then continue; fi cp "$x" $LuaScripts diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 68bb675626..e8d52f26a3 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -401,7 +401,8 @@ 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 + BN=$(basename $x) + if test "${BN:0:1}" = "_"; then continue; fi cp "$x" $LuaScripts |