X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=branch.sh;h=224d9b04117ea989f32677ced79566f8bdd6c49f;hb=c5379422ea4f476eb59ef6d9e6d1b1667af16c70;hp=7cc296844c0a0f1cec4e13c6b4e85f6d818da045;hpb=43e7940cbb3db40b3f599360cb826315853deb8a;p=packages%2Fgcc.git diff --git a/branch.sh b/branch.sh index 7cc2968..224d9b0 100755 --- a/branch.sh +++ b/branch.sh @@ -2,14 +2,16 @@ set -e package=gcc svn=svn://gcc.gnu.org/svn/$package -branch=branches/$package-7-branch -tag=tags/${package}_7_2_0_release +branch=branches/$package-8-branch +tag=tags/${package}_8_2_0_release out=$package-branch.diff # use filterdiff, etc to exclude bad chunks from diff filter() { # remove revno's for smaller diffs - sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,' + # replace svn nonexistend with '0' date, so patch will know that file needs to be removed from disk + sed -e 's,^\([-+]\{3\} .*\)\t(revision [0-9]\+)$,\1,' | \ + sed -e 's,^\([-+]\{3\} .*\t\)(nonexistent)$,\11970-01-01 01:00:00.000000000 +0100,' } old=$svn/$tag @@ -25,3 +27,6 @@ if cmp -s $out{,.tmp}; then exit 0 fi mv -f $out{.tmp,} + +../md5 $package.spec +../dropin $out