Files
secureblue/modules/script/script.sh
2023-08-13 16:12:57 +03:00

12 lines
227 B
Bash

#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
cd "$CONFIG_DIRECTORY/scripts"
get_yaml_array RUN '.run[]'
for CMD in "${RUN[@]}"; do
echo "Running command: $CMD"
$CMD
done