From 31ad7236b0d2fab5c82affc4daabf3fec8db275d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 21 Aug 2016 00:41:49 +0200 Subject: Exclude dev/example Lua scripts from packages --- tools/linux_packaging/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/linux_packaging/build') 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 -- cgit v1.2.3