[packages/ctags] branch.sh: update md5 dropin

glen glen at pld-linux.org
Mon Feb 1 09:03:40 CET 2016


commit b95a00715e341b6ad32120574d4b10c98cca7342
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Feb 1 10:03:27 2016 +0200

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ctags.git/commitdiff/b95a00715e341b6ad32120574d4b10c98cca7342



More information about the pld-cvs-commit mailing list