summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/scripts/adjust_header_paths.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/assimp-master/scripts/adjust_header_paths.sh')
-rw-r--r--src/mesh/assimp-master/scripts/adjust_header_paths.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mesh/assimp-master/scripts/adjust_header_paths.sh b/src/mesh/assimp-master/scripts/adjust_header_paths.sh
new file mode 100644
index 0000000..7c3bb37
--- /dev/null
+++ b/src/mesh/assimp-master/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