]> git.sven.stormbind.net Git - sven/java-package.git/blobdiff - make-jpkg
Drop some old information
[sven/java-package.git] / make-jpkg
index 64c37635f7e34254130e7902cfdff326b4c7430d..5a788db11f5795e0300956ddd6d62b6c6d64032b 100755 (executable)
--- a/make-jpkg
+++ b/make-jpkg
@@ -67,7 +67,7 @@ print_usage() {
        cat << EOF
 Usage: $program_name [OPTION]... FILE
 
-$program_name builds Debian packages from Java(TM) 2 binary distributions.
+$program_name builds Debian packages from Java binary distributions.
 
   --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 +199,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