check-updates.sh: switch to for loop
'while' loop stops for unknown reason after 'git commit'
This commit is contained in:
parent
4399a39795
commit
5d01d72a3a
@ -16,7 +16,7 @@ if [ -z "${GITHUB_API_TOKEN-}" ]; then
|
||||
fi
|
||||
|
||||
if [ -f "${BASEDIR}/github-projects.txt" ]; then
|
||||
while read -r line; do
|
||||
for line in $(grep -P '^[a-z0-9]' "${BASEDIR}/github-projects.txt"); do
|
||||
unset package project version_regexp
|
||||
package=$(echo "$line" | cut -d'|' -f1)
|
||||
project=$(echo "$line" | cut -d'|' -f2)
|
||||
@ -66,5 +66,5 @@ if [ -f "${BASEDIR}/github-projects.txt" ]; then
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done < <(grep -P '^[a-z0-9]' "${BASEDIR}/github-projects.txt")
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user