[pkg-java] r11575 - trunk/sun-java6/debian
Sylvestre Ledru
sylvestre at alioth.debian.org
Thu Feb 11 23:54:50 UTC 2010
Author: sylvestre
Date: 2010-02-11 23:54:50 +0000 (Thu, 11 Feb 2010)
New Revision: 11575
Modified:
trunk/sun-java6/debian/rules
Log:
version detection updated
Modified: trunk/sun-java6/debian/rules
===================================================================
--- trunk/sun-java6/debian/rules 2010-02-11 23:54:18 UTC (rev 11574)
+++ trunk/sun-java6/debian/rules 2010-02-11 23:54:50 UTC (rev 11575)
@@ -32,8 +32,9 @@
PRODUCT := $(javaname)$(RELEASE)
srcname = $(VENDOR)-$(PRODUCT)
basename = $(ia32_prefix)$(VENDOR)-$(PRODUCT)
-version := $(word 3, $(dirparts))
-releng_ver := $(word 4, $(dirparts))
+dirpartsv := $(shell echo $(word 3, $(dirparts)) | tr '.' ' ')
+version := $(word 1, $(dirpartsv))
+releng_ver := $(word 2, $(dirpartsv))
jdkversion := 1.6.0
#unpackdir := jdk$(version)_$(releng_ver)
#unpackdir := jdk$(jdkversion)
More information about the pkg-java-commits
mailing list