]> git.donarmstrong.com Git - bin.git/blob - buildd_script
add buildd script
[bin.git] / buildd_script
1 #!/bin/sh
2 # Stolen and modified from http://wiki.debian.org/Buildd/BuildLogs
3
4
5 TMPDIR=$(mktemp -d)
6 egrep -v '^Fcc:' "$1" | sed -e '8,/\.changes\:$/d' -e '/^\*/,$d' > "${TMPDIR}"/changes
7 cat "${TMPDIR}"/changes > "$1"
8 rm -f "${TMPDIR}"/changes
9 rmdir "${TMPDIR}"