From 766e1bccddaf0c75727f1b5600581200b1c30171 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Pineau?= Date: Fri, 20 Jan 2012 23:00:24 +0100 Subject: [PATCH] Support use without installation through J2SE_PACKAGE_LIBDIR=./lib ./make-jpkg --- make-jpkg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.5