changeset in /hg/icedtea6: Add IcedTea version to java -version.

Gary Benson gbenson at redhat.com
Fri Nov 7 05:18:05 PST 2008


Andrew John Hughes wrote:
> changeset 829a4250db62 in /hg/icedtea6
> details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=829a4250db62
> description:
> 	Add IcedTea version to java -version.
[snip]
> +	if [ -e $(abs_top_srcdir)/.hg ]; then \
> +	  revision="-r`(cd $(srcdir); $(HG) tip --template '{rev}')`" ; \
> +	fi ; \
> +	icedtea_version="$(PACKAGE_VERSION)$${revision}" ; \
> +	sed -i "s#IcedTea6#IcedTea6 $${icedtea_version}#" openjdk/jdk/make/common/shared/Defs.gmk

The number reported by '{rev}' is only meaningful within your own
repository.  Anyone mind if I change this to '{node|short}'?

Cheers,
Gary

-- 
http://gbenson.net/



More information about the distro-pkg-dev mailing list