mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-06 06:53:12 +00:00
before this change, if `buildah` is not available in $PATH, this script fails like: ```console $ tools/toolchain/prepare --help tools/toolchain/prepare: line 3: buildah: command not found ``` the error message never gets a chance to show up. as `set -e` in the shebang line just let bash quit. after this change, we check for the existence of buildah, and bail out if it is not available. so, on a machine without buildah around, we now have: ```console $ tools/toolchain/prepare --help install buildah 1.19.3 or later ``` the same applies to "reg". Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb/scylladb#17697