summaryrefslogtreecommitdiff
path: root/package_physicsextensions.sh
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2012-02-06 17:47:38 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2012-02-06 17:47:38 -0500
commitaab46252fcd9e6dc32f7fd01c15d578b18528e64 (patch)
tree5a4e6f6cfd1127db2e96c569f16dacbb27f705f8 /package_physicsextensions.sh
parent99e3633760b64ce3f18b22809fb1d20f7e582502 (diff)
PATH-194 WIP updating build scripts to include inline files as well as headers
Diffstat (limited to 'package_physicsextensions.sh')
-rwxr-xr-xpackage_physicsextensions.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/package_physicsextensions.sh b/package_physicsextensions.sh
index 9260dd03ce..5b4c23ecc9 100755
--- a/package_physicsextensions.sh
+++ b/package_physicsextensions.sh
@@ -34,6 +34,12 @@ do
mkdir -p $dstIncludeDir
headers="$source/$project/*.h"
cp $headers "$dstIncludeDir"
+ headers="$source/$project/*.inl"
+ # not all projects have .inl files
+ files=$(ls $headers 2> /dev/null | wc -l)
+ if [ "$files" != "0" ] ; then
+ cp $headers "$dstIncludeDir"
+ fi
done
# Copy the license files into place for packaging