From: Cédric Pineau Date: Fri, 20 Jan 2012 22:00:24 +0000 (+0100) Subject: Support use without installation through J2SE_PACKAGE_LIBDIR=./lib ./make-jpkg --- diff --git a/make-jpkg b/make-jpkg index 64c3763..e1e16ce 100755 --- a/make-jpkg +++ b/make-jpkg @@ -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