From: tony mancill Date: Wed, 9 Apr 2014 04:30:49 +0000 (-0700) Subject: honor --revision for -doc packages X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=9f25c890143064ee1f43778eba007af5259b01a2;p=sven%2Fjava-package.git honor --revision for -doc packages --- diff --git a/lib/oracle-jdk-doc.sh b/lib/oracle-jdk-doc.sh index 1cc6d86..59a00cd 100644 --- a/lib/oracle-jdk-doc.sh +++ b/lib/oracle-jdk-doc.sh @@ -10,10 +10,10 @@ oracle_j2sdk_doc_detect() { if [[ $j2se_update != "" ]] then j2se_version_name="$j2se_release Update $j2se_update" - j2se_version=${j2se_release}u${j2se_update} + j2se_version=${j2se_release}u${j2se_update}${revision} else j2se_version_name="$j2se_release GA" - j2se_version=${j2se_release} + j2se_version=${j2se_release}${revision} fi fi @@ -26,10 +26,10 @@ oracle_j2sdk_doc_detect() { if [[ $j2se_update != "" ]] then j2se_version_name="$j2se_release Update $j2se_update Early Access Release Build $j2se_build" - j2se_version=${j2se_release}u${j2se_update}~ea-build-${j2se_build} + j2se_version=${j2se_release}u${j2se_update}~ea-build-${j2se_build}${revision} else j2se_version_name="$j2se_release Early Access Release Build $j2se_build" - j2se_version=${j2se_release}~ea-build-${j2se_build} + j2se_version=${j2se_release}~ea-build-${j2se_build}${revision} fi fi