X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fjava-package.git;a=blobdiff_plain;f=make-jpkg;h=0e1d315a45b9e56b359440f96d274d0b24132bd2;hp=64c37635f7e34254130e7902cfdff326b4c7430d;hb=64fb735f8874c079d1fb1968bd13339f436368e7;hpb=adec26aa8261b379a1db4ca72142b7ddc51f4e75 diff --git a/make-jpkg b/make-jpkg index 64c3763..0e1d315 100755 --- a/make-jpkg +++ b/make-jpkg @@ -67,7 +67,16 @@ print_usage() { cat << EOF Usage: $program_name [OPTION]... FILE -$program_name builds Debian packages from Java(TM) 2 binary distributions. +$program_name builds a Debian package from the given Java binary distribution FILE + +Supported java binary distributions currently include: + * Oracle (http://www.oracle.com/technetwork/java/javase/downloads) : + - The J2SE Development Kit (JDK), version 6 (update >= 10), 7 + - The J2SE Runtime Environment (JRE), version 6 (update >= 10), 7 + - The J2SE API Javadoc, version 6 (update >= 10), 7 + (Choose tar.gz archives or self-extracting archives, do _not_ choose the RPM!) + +The following options are recognized: --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 @@ -199,11 +208,10 @@ install -d -m 755 "$install_dir" # load and execute plugins echo -n "Loading plugins:" -cd "$lib_dir" -files=(*.sh) +files=($lib_dir/*.sh) for file in "${files[@]}"; do echo -n " $file" - source "$lib_dir/$file" + source "$file" done echo