]> git.sven.stormbind.net Git - sven/java-package.git/blobdiff - make-jpkg
Add version matching code for server JRE 9
[sven/java-package.git] / make-jpkg
index 48f20289d0eb3ee1e2b643240ac6d6afbbe2321f..3db992cfd6494949383b1fe86a13277852ac2a80 100755 (executable)
--- a/make-jpkg
+++ b/make-jpkg
@@ -80,15 +80,15 @@ Supported java binary distributions currently include:
 
 The following options are recognized:
 
-  --jce-policy FILE    Replace cryptography files with unlimited strength versions
-                       from downloaded archive
   --full-name NAME     full name used in the maintainer field of the package
   --email EMAIL        email address used in the maintainer field of the package
+  --distribution DIST  Define the distribution to use in the changelog
+  --priority PRIORITY  Override default package priority
   --changes            create a .changes file
   --revision           add debian revision
   --source             build a source package instead of a binary deb package
   --with-system-certs  integrate with the system's keystore
-  --distribution       Define the distribution to use in the changelog
+  --jce-policy FILE    Replace cryptography files with versions from FILE
 
   --help               display this help and exit
   --version            output version information and exit
@@ -136,6 +136,10 @@ while [[ $# -gt 0 && "x$1" == x--* ]]; do
     [ $# -le 1 ] && missing_argument "$1"
     shift
     distribution="$1"
+    elif [[ "x$1" == x--priority ]]; then
+    [ $# -le 1 ] && missing_argument "$1"
+    shift
+    priority_override="$1"
     elif [[ "x$1" == x--revision ]]; then
     [ $# -le 1 ] && missing_argument "$1"
     shift