]> git.pld-linux.org Git - packages/gcc.git/blob - branch.sh
- release 2, oneline fix for sigsegv in libgomp
[packages/gcc.git] / branch.sh
1 #!/bin/sh
2 set -e
3 package=gcc
4 svn=svn://gcc.gnu.org/svn/$package
5 branch=branches/$package-7-branch
6 tag=tags/${package}_7_2_0_release
7 out=$package-branch.diff
8
9 # use filterdiff, etc to exclude bad chunks from diff
10 filter() {
11         # remove revno's for smaller diffs
12         sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,'
13 }
14
15 old=$svn/$tag
16 new=$svn/$branch
17 echo >&2 "Running diff: $old -> $new"
18 LC_ALL=C svn diff -x --ignore-eol-style --force --old=$old --new=$new > $out.svn.tmp
19 filter < $out.svn.tmp > $out.tmp
20 rm -f $out.svn.tmp
21
22 if cmp -s $out{,.tmp}; then
23         echo >&2 "No new diffs..."
24         rm -f $out.tmp
25         exit 0
26 fi
27 mv -f $out{.tmp,}
28
29 ../md5 $package.spec
30 ../dropin $out
This page took 0.076719 seconds and 3 git commands to generate.