diff options
Diffstat (limited to 'libs/assimp/scripts/adjust_header_paths.sh')
-rw-r--r-- | libs/assimp/scripts/adjust_header_paths.sh | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libs/assimp/scripts/adjust_header_paths.sh b/libs/assimp/scripts/adjust_header_paths.sh new file mode 100644 index 0000000..7c3bb37 --- /dev/null +++ b/libs/assimp/scripts/adjust_header_paths.sh @@ -0,0 +1,38 @@ +declare -a headers=("fast_atof.h" + "qnan.h" + "BaseImporter.h" + "Hash.h" + "MemoryIOWrapper.h" + "ParsingUtils.h" + "StreamReader.h" + "StreamWriter.h" + "StringComparison.h" + "StringUtils.h" + "SGSpatialSort.h" + "GenericProperty.h" + "SpatialSort.h" + "SkeletonMeshBuilder.h" + "SmoothingGroups.h" + "StandardShapes.h" + "RemoveComments.h" + "Subdivision.h" + "Vertex.h" + "LineSplitter.h" + "TinyFormatter.h" + "Profiler.h" + "LogAux.h" + "Bitmap.h" + "XMLTools.h" + "IOStreamBuffer.h" + "CreateAnimMesh.h" + "irrXMLWrapper.h" + "BlobIOSystem.h" + "MathFunctions.h" + "Macros.h" + "Exceptional.h" + "ByteSwapper.h") + +for i in "${headers[@]}" +do + find . -type f -exec sed -i "s,<../code/$i>,<assimp/$i>,g" {} \; +done |