Check md5sum on hotspot downloads
Andrew Haley
aph at redhat.com
Fri Dec 19 06:34:49 PST 2008
Andrew Haley wrote:
> We weren't checking for an md5sum on the downloaded hotspot; fixed thusly.
> Also, the hotspot.map parser was insisting on tabs rather than any whitespace
> character as a separator, so I fixed that too.
Missed one. Fixed.
diff -r fc3dc99a545d Makefile.am
--- a/Makefile.am Fri Dec 19 14:02:38 2008 +0000
+++ b/Makefile.am Fri Dec 19 14:33:20 2008 +0000
@@ -709,7 +709,8 @@
then \
$(TAR) xf $(HOTSPOT_SRC_ZIP) ; \
chmod -R ug+w hotspot-* ; \
- mv hotspot-$$(cat $(abs_top_srcdir)/hotspot.map|grep $(HSBUILD)|cut -f2) openjdk/hotspot ; \
+ mv hotspot-$$($(AWK) 'version==$$1 {print $$2}' version=$(HSBUILD) \
+ $(abs_top_srcdir)/hotspot.map) openjdk/hotspot ; \
fi ; \
fi
endif
More information about the distro-pkg-dev
mailing list