From b95a00715e341b6ad32120574d4b10c98cca7342 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 1 Feb 2016 10:03:27 +0200 Subject: [PATCH] branch.sh: update md5 dropin --- branch.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 2.44.0