ci: fix linter errors: cron-tasks.sh

This commit is contained in:
Michael Grote 2023-11-09 09:02:19 +01:00
parent 21278feb22
commit 4a8746e853

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e
[[ ! -z "$DEBUG" ]] && set -x
[[ -n "$DEBUG" ]] && set -x
source /nextcloud-exec.sh
@ -24,7 +24,7 @@ run_scripts_in_dir() {
find . -type f -name '*.sh' -print0 |
while IFS= read -r -d '' file; do
echo "> Running Script: $file"
nextcloud_exec "$containerId" "$(cat $file)" || continue
nextcloud_exec "$containerId" "$(cat "$file")" || continue
done
}