Skip to content

Shellchecked xdg-email

Slatian requested to merge slatian/xdg-utils:shellcheck-xdg-email into master
  • Replace backticks with "$(
  • Quote variables and replacements (non un-quotes seemed intentional)
  • Moved local variable definitions to their own lines so they don't clash with value assignment
  • fixed formattting in open_envvar

Not fixed:

  • SC3037 (warning): In POSIX sh, echo flags are undefined. (Fixing those is a bit more involved)

This will clash with !89 I'd be happy to rebase either one.

Merge request reports