Exclude dev/example Lua scripts from packages

This commit is contained in:
Robin Gareus 2016-08-21 00:41:49 +02:00
parent a0493283c4
commit 31ad7236b0
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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