mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-05 12:57:45 +00:00
13 lines
247 B
Bash
13 lines
247 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Tell build process to exit if there are any errors.
|
|
set -oue pipefail
|
|
|
|
readarray RUN < <(yq -o=j -I=0 '.run[]' "$1" )
|
|
|
|
cd "$CONFIG_DIRECTORY/scripts"
|
|
|
|
for CMD in "${RUN[@]}"; do
|
|
echo "Running command: $CMD"
|
|
$CMD
|
|
done |