diff --git a/tests/grib_to_netcdf.sh b/tests/grib_to_netcdf.sh index d98eb0c2b..330e39cb0 100755 --- a/tests/grib_to_netcdf.sh +++ b/tests/grib_to_netcdf.sh @@ -20,7 +20,7 @@ rm -f $tmp_out | true # we get a usage message otherwise we get a specific message. Note: In both cases # the command fails. ${tools_dir}grib_to_netcdf > $tmp_out -grep 'GRIB API was not compiled with NETCDF enabled' $tmp_out > /dev/null +grep 'ecCodes was not compiled with NETCDF enabled' $tmp_out > /dev/null if [ $? -eq 0 ]; then # Message was found skip_test=1 diff --git a/tools/grib_to_netcdf.c b/tools/grib_to_netcdf.c index d22f9b1a6..9ef7855d5 100644 --- a/tools/grib_to_netcdf.c +++ b/tools/grib_to_netcdf.c @@ -4245,9 +4245,7 @@ int main(int argc, char** argv) printf("\n"); printf("grib_to_netcdf:\n"); printf("\n"); - printf(" GRIB API was not compiled with NETCDF enabled\n"); - printf(" Please rerun configure with --with-netcdf=PATH_TO_NETCDF_INSTALLATION\n"); - printf(" and re-install the software.\n"); + printf(" ecCodes was not compiled with NETCDF enabled\n"); printf("\n"); exit(1); }