chiark / gitweb /
add hacky LP bug notification helper
[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 [ -z "$1" ] || [ "$1" = ubuntu ]; then
7         paths="${paths:+$paths }$HOME/src/ubuntu/*/*/debian/changelog"
8 fi
9 for path in $paths; do
10         if firstline="$(head -n1 "$path" | grep -h 'UNRELEASED;')"; then
11                 echo "$path:$firstline"
12         fi
13 done