X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fjava-package.git;a=blobdiff_plain;f=make-jpkg;h=e1e16cefad598eb8cfc18401671681ae3478abe3;hp=64c37635f7e34254130e7902cfdff326b4c7430d;hb=88c9d2e1eb210f8f3d5a65cb14f381cb70ff1001;hpb=adec26aa8261b379a1db4ca72142b7ddc51f4e75 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