mirror of https://github.com/ecmwf/eccodes.git
ECC-1369: handle_new_from_samples: Allow sample file to include its extension
This commit is contained in:
parent
aa7e202083
commit
19b63aa4b1
|
@ -15,13 +15,14 @@ temp=temp.$label
|
||||||
|
|
||||||
# Sample files
|
# Sample files
|
||||||
# ----------------
|
# ----------------
|
||||||
|
${tools_dir}/codes_export_resource -s GRIB2 $temp
|
||||||
|
cmp $ECCODES_SAMPLES_PATH/GRIB2.tmpl $temp
|
||||||
|
|
||||||
|
# ECC-1369: Include the extension
|
||||||
f='GRIB2.tmpl'
|
f='GRIB2.tmpl'
|
||||||
${tools_dir}/codes_export_resource -s $f $temp
|
${tools_dir}/codes_export_resource -s $f $temp
|
||||||
cmp $ECCODES_SAMPLES_PATH/$f $temp
|
cmp $ECCODES_SAMPLES_PATH/$f $temp
|
||||||
|
|
||||||
# Use the shortened form
|
|
||||||
${tools_dir}/codes_export_resource -s GRIB2 $temp
|
|
||||||
cmp $ECCODES_SAMPLES_PATH/GRIB2.tmpl $temp
|
|
||||||
|
|
||||||
# IFS Samples
|
# IFS Samples
|
||||||
# ----------------
|
# ----------------
|
||||||
|
|
Loading…
Reference in New Issue