fail the rfs script if the copyright file isn't correct
Sylvestre Ledru
1 year, 11 months ago
3 | 3 | done | sort | while read t i; do |
4 | 4 | pkg=$(basename "$(dirname "$(dirname "$i")")") |
5 | 5 | upstream_pkg=$(grep Upstream-Name src/$pkg/debian/copyright|awk '{print $2}') |
6 | if test -z $upstream_pkg; then | |
7 | echo "Could not find upstream package name. is src/$pkg/debian/copyright correct?" | |
8 | exit 2 | |
9 | fi | |
6 | 10 | if test -n "$(git --no-pager branch --remotes -l origin/pending-"$pkg")"; then |
7 | 11 | # If a pending branch exists, skip it |
8 | 12 | continue |