blue-build / modules

BlueBuild standard modules used for building your Atomic Images
Apache License 2.0
22 stars 26 forks source link

docs: Include documentation about using `set -x` for troubleshooting modules #132

Closed fiftydinar closed 2 months ago

fiftydinar commented 4 months ago

In this case, set -euxo pipefail.

It is very useful for watching what module does command by command & potentially seeing where it silently fails.

Some commands like find can show this behavior with errors similar to this:

find: paths must precede expression: `'
fiftydinar commented 2 months ago

This is implemented in WIP bash module code guidelines, so I'll close this as completed.