diff --git a/src/templates_front/build.sh b/src/templates_front/build.sh index 3d5b5e4..f20f78a 100644 --- a/src/templates_front/build.sh +++ b/src/templates_front/build.sh @@ -1,22 +1,20 @@ #!/bin/bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" - # prefixes -cat $DIR/prefix_front.c > trexio.c -cat $DIR/prefix_front.h > trexio.h -cat $DIR/prefix_s_front.h > trexio_s.h -cat $DIR/prefix_fortran.f90 > trexio_f.f90 +cat prefix_front.c > trexio.c +cat prefix_front.h > trexio.h +cat prefix_s_front.h > trexio_s.h +cat prefix_fortran.f90 > trexio_f.f90 # c front end -cat $DIR/populated/pop_*.c >> trexio.c -cat $DIR/populated/pop_*.h >> trexio.h +cat populated/pop_*.c >> trexio.c +cat populated/pop_*.h >> trexio.h # fortran front end -cat $DIR/populated/pop_*.f90 >> trexio_f.f90 +cat populated/pop_*.f90 >> trexio_f.f90 # suffixes -cat $DIR/suffix_s_front.h >> trexio_s.h -cat $DIR/suffix_front.h >> trexio.h -cat $DIR/suffix_fortran.f90 >> trexio_f.f90 +cat suffix_s_front.h >> trexio_s.h +cat suffix_front.h >> trexio.h +cat suffix_fortran.f90 >> trexio_f.f90 diff --git a/src/templates_hdf5/build.sh b/src/templates_hdf5/build.sh index 213bdb3..e9bb94b 100644 --- a/src/templates_hdf5/build.sh +++ b/src/templates_hdf5/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cat prefix_hdf5.c > trexio_hdf5.c cat prefix_hdf5.h > trexio_hdf5.h diff --git a/src/templates_text/build.sh b/src/templates_text/build.sh index 2835dd3..e8e1918 100644 --- a/src/templates_text/build.sh +++ b/src/templates_text/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cat prefix_text.c > trexio_text.c cat prefix_text.h > trexio_text.h