ci: fix linter errors: cron-tasks.sh
This commit is contained in:
parent
21278feb22
commit
4a8746e853
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
[[ ! -z "$DEBUG" ]] && set -x
|
[[ -n "$DEBUG" ]] && set -x
|
||||||
|
|
||||||
source /nextcloud-exec.sh
|
source /nextcloud-exec.sh
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ run_scripts_in_dir() {
|
||||||
find . -type f -name '*.sh' -print0 |
|
find . -type f -name '*.sh' -print0 |
|
||||||
while IFS= read -r -d '' file; do
|
while IFS= read -r -d '' file; do
|
||||||
echo "> Running Script: $file"
|
echo "> Running Script: $file"
|
||||||
nextcloud_exec "$containerId" "$(cat $file)" || continue
|
nextcloud_exec "$containerId" "$(cat "$file")" || continue
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue