Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes misleading "No such file or directory" syntax errors from output files #2688

Merged
8 changes: 6 additions & 2 deletions scripts/exglobal_diag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,12 @@ EOFdiag
rlist="conv_gps conv_ps conv_pw conv_q conv_sst conv_t conv_uv saphir"
for rtype in $rlist; do
set +e
${CHGRP_CMD} *${rtype}*
${STRICT_ON:-set -e}
for rfile in *"${rtype}"*; do
if [[ -s "${rfile}" ]]; then
${CHGRP_CMD} "${rfile}"
${STRICT_ON:-set -e}
fi
done
HenryRWinterbottom marked this conversation as resolved.
Show resolved Hide resolved
done

# If requested, create diagnostic file tarballs
Expand Down
Loading