Support Forums

Upcoming change: `ignore` command will be run with Bash instead of sh

For sites that have an ignore command, the command is run with sh. But the build command for the same site, and all Netlify sites, is run with Bash. For the sake of consistency, we’ll be switching to running the ignore command with Bash instead of sh. This switch will take place on November 10, 2020.

We anticipate that this will impact few if any ignore scripts because:

  • Bash is largely backward-compatible with sh
  • Most ignore scripts take the form command ...arguments, which is compatible with Bash

If you have questions or concerns, please let us know in the comments and we’ll be happy to address them.


Update: This has shipped! :rocket: