From b244daf08753813ba22116f082286f19bbd834fe Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 10 Aug 2016 03:18:07 +0200 Subject: [PATCH] don't bundle no-inst scripts --- tools/linux_packaging/build | 3 +++ tools/osx_packaging/osx_build | 3 +++ 2 files changed, 6 insertions(+) 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