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"