From c81d69117fee510b1253c2601d45ad33b806f439 Mon Sep 17 00:00:00 2001 From: Johannes Lenzen Date: Tue, 9 Feb 2021 10:42:58 +0100 Subject: [PATCH] Fixing errors --- CI/ci-linux-build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CI/ci-linux-build.sh b/CI/ci-linux-build.sh index 61592137..8bd3a881 100755 --- a/CI/ci-linux-build.sh +++ b/CI/ci-linux-build.sh @@ -63,8 +63,11 @@ else fi echo "Copying all required libraries of OpenMesh to the systemlib directory" - ls -laR Build - ldd Build/lib/libOpenMeshCored.so.9.0 | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' systemlib + if [ "$BUILD_TYPE" == "Release" ]; then + ldd Build/lib/libOpenMeshCore.so.9.0 | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' systemlib + else + ldd Build/lib/libOpenMeshCored.so.9.0 | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' systemlib + fi fi cd .. \ No newline at end of file