diff --git a/tests/bufr_dump_fortran.sh b/tests/bufr_dump_fortran.sh index b2541a48d..042f4a668 100755 --- a/tests/bufr_dump_fortran.sh +++ b/tests/bufr_dump_fortran.sh @@ -18,6 +18,8 @@ fLog=${label}".log" rm -f $fLog tempBufr=outfile.bufr +tempDir=${label}.dir +mkdir -p $tempDir bufr_files=`cat ${data_dir}/bufr/bufr_data_files.txt` @@ -48,6 +50,8 @@ if command -v pkg-config >/dev/null 2>&1; then fi fi +cd $tempDir + for file in ${bufr_files} do tempSrc=$label.$file.f90