4 # Check that the ICoCo headers used in MEDCoupling are well synchronized with the official ICoCo version
6 # https://github.com/cea-trust-platform/icoco-coupling
12 git clone https://github.com/cea-trust-platform/icoco-coupling.git
14 lst="ICoCo_DeclSpec.hxx ICoCoField.h ICoCoField.hxx ICoCoMEDDoubleField.h ICoCoMEDDoubleField.hxx ICoCoMEDIntField.h ICoCoMEDIntField.hxx"
19 tail -n+4 ../icoco-coupling/include/$f > "${f}_github"
20 tail -n+20 ../../$f > "${f}_mc"
21 diff "${f}_github" "${f}_mc"
22 if [ ! $? -eq 0 ]; then
23 echo "File $f is not the same in MEDCoupling repository and in official ICoCo GitHub repository!!"