packages: chromium-browser-bin/get_sources.sh - update md5 too
glen
glen at pld-linux.org
Mon Feb 1 11:55:49 CET 2010
Author: glen Date: Mon Feb 1 10:55:49 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- update md5 too
---- Files affected:
packages/chromium-browser-bin:
get_sources.sh (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/chromium-browser-bin/get_sources.sh
diff -u packages/chromium-browser-bin/get_sources.sh:1.9 packages/chromium-browser-bin/get_sources.sh:1.10
--- packages/chromium-browser-bin/get_sources.sh:1.9 Mon Feb 1 11:51:02 2010
+++ packages/chromium-browser-bin/get_sources.sh Mon Feb 1 11:55:44 2010
@@ -24,9 +24,15 @@
dropin=../dropin
fi
-if [ "$dropin" ] && [ "$upload_32" -o "$upload_64" ]; then
+if [ "$upload_32" -o "$upload_64" ]; then
echo "Uploading to dropin. ^C to abort"
- $dropin $upload_32 $upload_64
+ ../dropin $upload_32 $upload_64
fi
-sed -i -e "s/^\(%define[ \t]\+svnrev[ \t]\+\)[0-9]\+\$/\1$rev/" chromium-browser-bin.spec
+specfile=chromium-browser-bin.spec
+oldrev=$(awk '/^%define[ ]+svnrev[ ]+/{print $NF}' $specfile)
+if [ "$oldrev" != "$rev" ]; then
+ echo "Updating $specfile for $rev"
+ sed -i -e "s/^\(%define[ \t]\+svnrev[ \t]\+\)[0-9]\+\$/\1$rev/" $specfile
+ ../builder -ncs -5 $specfile
+fi
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chromium-browser-bin/get_sources.sh?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list