summaryrefslogtreecommitdiff
path: root/tools/osx_packaging
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-08-21 00:41:49 +0200
committerRobin Gareus <robin@gareus.org>2016-08-21 00:41:49 +0200
commit31ad7236b0d2fab5c82affc4daabf3fec8db275d (patch)
tree89a83dee23524849b3715e608b387dc172145195 /tools/osx_packaging
parenta0493283c41fa41a3382704e05e8ef45475187c5 (diff)
Exclude dev/example Lua scripts from packages
Diffstat (limited to 'tools/osx_packaging')
-rwxr-xr-xtools/osx_packaging/osx_build3
1 files changed, 2 insertions, 1 deletions
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