]> git.sven.stormbind.net Git - sven/java-package.git/commitdiff
honor --revision for -doc packages
authortony mancill <tmancill@debian.org>
Wed, 9 Apr 2014 04:30:49 +0000 (21:30 -0700)
committertony mancill <tmancill@debian.org>
Wed, 9 Apr 2014 04:30:49 +0000 (21:30 -0700)
lib/oracle-jdk-doc.sh

index 1cc6d8674e67713a4e31cfda03650ded9524049f..59a00cd35f53572f7ba5a0a5e2295a17228d9c2a 100644 (file)
@@ -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