diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-22 10:07:49 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-02-22 10:07:49 +0000 |
commit | b27fb7138ccdc254401c481e1cfab3d8b07c6bdd (patch) | |
tree | a6598647c508430fddcaf62118df69b34426f17d /contrib | |
parent | a5b88789410799e4b16539314ac635e22ce9c065 (diff) | |
download | openembedded-b27fb7138ccdc254401c481e1cfab3d8b07c6bdd.tar.gz |
contrib/angstrom/mtnlog2backports: Script to filter mtn log into BACKPORTS.txt format.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/angstrom/mtnlog2backports | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/angstrom/mtnlog2backports b/contrib/angstrom/mtnlog2backports new file mode 100755 index 0000000000..efb783206a --- /dev/null +++ b/contrib/angstrom/mtnlog2backports @@ -0,0 +1,12 @@ +#/bim/sh + +# +# This scripts converts output of mtn log --no-graph --no-files into format +# suitable for BACKPORTS.txt +# + +/usr/bin/awk ' +/^Revi/ { rev = $2 } +/^$/ {on=1; next} +/^----/ {on=0; next;} +on == 1 {print rev " " $0 " (<approved by>)"; on=0; next}' $1 | tac |