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 1cc6d86..59a00cd 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