diff options
-rwxr-xr-x | package_physicsextensions.sh | 6 |
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 |