From: Elan Ruusamäe Date: Mon, 1 Feb 2016 08:03:27 +0000 (+0200) Subject: branch.sh: update md5 dropin X-Git-Tag: auto/th/ctags-5.8-6~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=b95a00715e341b6ad32120574d4b10c98cca7342;p=packages%2Fctags.git branch.sh: update md5 dropin --- diff --git a/branch.sh b/branch.sh index 3c4c21d..53abfa6 100755 --- a/branch.sh +++ b/branch.sh @@ -1,5 +1,6 @@ #!/bin/sh set -e +package=ctags svn=svn://svn.code.sf.net/p/ctags/code tag=ctags-5.8 out=branch.diff @@ -29,9 +30,12 @@ echo >&2 "Revision $revno" sed -i -e "1i# Revision $revno" $out.tmp filter < $out.tmp > $out.tmp2 && mv -f $out.{tmp2,tmp} -if cmp -s branch.diff{,.tmp}; then +if cmp -s $out{,.tmp}; then echo >&2 "No new diffs..." - rm -f branch.diff.tmp + rm -f $out.tmp exit 0 fi -mv -f branch.diff{.tmp,} +mv -f $out{.tmp,} + +../md5 $package.spec +../dropin $out