Test everything at once patch
Richard Lightman
diy-linux-dev@diy-linux.org
Thu, 20 Dec 2007 04:36:24 -0800
At present, if you have a few tarballs missing gsbuild --dry-run will
only complain about of them. After fixing that problem, you could
sit and grow old while gsbuild calculates all the md5sums again, or
you could apply this patch.
Index: common-sh.functions
===================================================================
RCS file: /cvs/diy/gsbuild/common-sh.functions,v
retrieving revision 1.21
diff -u -r1.21 common-sh.functions
--- common-sh.functions 4 Dec 2007 08:55:56 -0000 1.21
+++ common-sh.functions 20 Dec 2007 12:29:44 -0000
@@ -195,14 +195,16 @@
# Ensure we have all the required tarballs and that md5sums pass.
verify_tarballs() {
- local P T MD5SUM UNCOMP
+ local P T MD5SUM UNCOMP fail
echo -en "\nVerifying tarball md5sums... "
+ fail=false
for P in $REAL_PKGS; do
T=`get_pkg_field $P 4`
MD5SUM=`get_pkg_field $P 3`
- find_tarball $T $MD5SUM
+ find_tarball $T $MD5SUM || fail=true
done
+ $fail && exit 1
echo "done."
}
PS: Version 2.70 or man-pages not in stock. Bought this instead:
man-pages-2.73.tar.bz2
Richard Lightman
--
"Numerical superiority is of no consequence. In battle, victory will
go to the best tactician." - George Custer (1839-1876)
--
Richard Lightman
headrat@fastmail.co.uk
--
http://www.fastmail.fm - The way an email service should be