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