chiark / gitweb /
bsmtp-pull: drop -2; avoid connection sharing
[bin.git] / unreleased-packages
1 #! /bin/sh
2 paths=
3 if [ -z "$1" ] || [ "$1" = debian ]; then
4         paths="${paths:+$paths }$HOME/src/debian/*/*/debian/changelog $HOME/src/debian/*/trunk/*/debian/changelog"
5 fi
6 if [ "$1" = d-i ]; then
7         paths="${paths:+$paths }$HOME/src/debian/debian-installer/trunk/debian-installer/installer/debian/changelog $HOME/src/debian/debian-installer/trunk/debian-installer/packages/*/debian/changelog $HOME/src/debian/debian-installer/trunk/debian-installer/packages/arch/*/*/debian/changelog $HOME/src/debian/debian-installer/trunk/debian-installer/packages/partman/*/debian/changelog $HOME/src/debian/debian-installer/trunk/debian-installer/manual/debian/changelog"
8 fi
9 if [ -z "$1" ] || [ "$1" = ubuntu ]; then
10         paths="${paths:+$paths }$HOME/src/ubuntu/*/*/debian/changelog"
11 fi
12 for path in $paths; do
13         if firstline="$(head -n1 "$path" | grep -h 'UNRELEASED;')"; then
14                 echo "$path:$firstline"
15         fi
16 done