From 9d56a57d80c3aca1cedd9a0457022cfbdc87fe4b Mon Sep 17 00:00:00 2001 From: Evgeny Posenitskiy <45995097+q-posev@users.noreply.github.com> Date: Tue, 6 Jun 2023 10:19:40 +0200 Subject: [PATCH] [skip ci] Remove unnecesary line from sed hacking --- tools/prepare_python.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/prepare_python.sh b/tools/prepare_python.sh index 03b13a2..bf316bf 100755 --- a/tools/prepare_python.sh +++ b/tools/prepare_python.sh @@ -40,8 +40,6 @@ cp ${SRC}/pytrexio_wrap.c ${PYDIR}/src/pytrexio_wrap.c cp ${INCLUDIR}/trexio.h ${PYDIR}/src cp ${INCLUDIR}/config.h ${PYDIR}/src -# fix needed for HAVE_HDF5 symbol so that Python extension can be compiled without config.h -export LINE_NO=$(($(awk '/stdint.h/{print NR}' ${PYDIR_TREXIO_H}) + 1)) if [[ ${DO_HDF5} == 0 ]] ; then cp ${SRC}/trexio_hdf5.{c,h} ${PYDIR}/src