From 320c18639a03a01efdf2f62f860e7796f35a738a Mon Sep 17 00:00:00 2001 From: gangatp Date: Wed, 21 Feb 2024 10:53:30 +0530 Subject: [PATCH] fixing bash script for fusion 3p --- Fusion/Generate3P.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Fusion/Generate3P.sh b/Fusion/Generate3P.sh index 3d9d416fa..da61d8c56 100644 --- a/Fusion/Generate3P.sh +++ b/Fusion/Generate3P.sh @@ -41,11 +41,11 @@ cp -r Autogenerated/Bindings/CppDynamic $SDKARTIFACT/win64_0/headers cp -r Autogenerated/Bindings/Cpp $SDKARTIFACT/mac64_0/headers cp -r Autogenerated/Bindings/CppDynamic $SDKARTIFACT/mac64_0/headers -cp -r Autogenerated/Bindings/Cpp mkdir $SDKARTIFACT/linux_0/inc -cp -r Autogenerated/Bindings/CppDynamic mkdir $SDKARTIFACT/linux_0/inc +cp -r Autogenerated/Bindings/Cpp $SDKARTIFACT/linux_0/inc +cp -r Autogenerated/Bindings/CppDynamic $SDKARTIFACT/linux_0/inc -major_version =($grep -oPm1 "(?<=lib3mf\"\sversion=\")[^.]+" AutomaticComponentToolkit/lib3mf.xml) +major_version =$(grep -oPm1 "(?<=lib3mf\"\sversion=\")[^.]+" AutomaticComponentToolkit/lib3mf.xml) echo Copy binaries cp $LOCATION/lib3mf.dll/lib3mf.dll $SDKARTIFACT/win64_0/libs/Release/lib3mf.$major_version.dll || failed "Error copying binary"