check for FIXME in the copyright file
Sylvestre Ledru
2 years ago
10 | 10 | if ! head -1 $(dirname "$i")/changelog |grep -q UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; then |
11 | 11 | echo -e "\e[31mRFS but the first line of the changelog doesn't contain UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO\e[0m" |
12 | 12 | fi |
13 | if grep -q FIXME $(dirname "$i")/copyright; then | |
14 | echo -e "\e[31mRFS but still contains FIXME in debian/copyright\e[0m" | |
15 | fi | |
13 | 16 | # trim the content |
14 | 17 | content=$(xargs '-d\n' echo -n < "$i") |
15 | 18 | if test -n "$content"; then |