fix: give executable permission to scripts

This commit is contained in:
ER
2023-08-13 18:31:12 +03:00
parent 3e0aa46c12
commit bbb1cc8b88

View File

@@ -7,8 +7,9 @@ get_yaml_array RUN '.run[]' "$1"
cd "$CONFIG_DIRECTORY/scripts" cd "$CONFIG_DIRECTORY/scripts"
find "$PWD" -type f -exec chmod +x {} \;
for CMD in "${RUN[@]}"; do for CMD in "${RUN[@]}"; do
echo "Running command: $CMD" echo "Running command: $CMD"
ls
eval "$CMD" eval "$CMD"
done done