mirror of https://github.com/ecmwf/eccodes.git
Fail test if file does not exist
This commit is contained in:
parent
b9193eaa8d
commit
ca55220299
|
@ -52,6 +52,7 @@ regular_latlon_surface.grib2
|
||||||
|
|
||||||
for file in $files
|
for file in $files
|
||||||
do
|
do
|
||||||
|
[ -f $file ]
|
||||||
echo $file >> log
|
echo $file >> log
|
||||||
${tools_dir}grib_ls -l 40,28 $file | grep index | awk '{print $4;}' >> log
|
${tools_dir}grib_ls -l 40,28 $file | grep index | awk '{print $4;}' >> log
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue