CI: check for CHANGEME in all dirs (!628)

With pmbootstrap!1811, generated aports in temp/ can also have a
"(CHANGEME!)" string. Let's check in all dirs, not just in the device
dir.
This commit is contained in:
Daniele Debernardi 2019-09-14 01:43:05 +02:00 committed by Oliver Smith
parent 811dc68960
commit bc399297dc
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -7,9 +7,9 @@ DIR="$(cd "$(dirname "$0")" && pwd -P)"
cd "$DIR/.." cd "$DIR/.."
# Find CHANGEMEs in APKBUILDs # Find CHANGEMEs in APKBUILDs
if grep -qr '(CHANGEME!)' device; then if grep -qr '(CHANGEME!)' *; then
echo "ERROR: Please replace '(CHANGEME!)' in the following files:" echo "ERROR: Please replace '(CHANGEME!)' in the following files:"
grep --color=always -r '(CHANGEME!)' device grep --color=always -r '(CHANGEME!)' *
exit 1 exit 1
fi fi