From e60e0bbebf8cb9d2ddb6483608be7431331ff011 Mon Sep 17 00:00:00 2001 From: Bruno Tavares Date: Sun, 23 Feb 2014 12:48:33 -0300 Subject: [PATCH] Fix module loading logic Modules are located on the `modules` folder on the project. By default, kickstart will put itself on the `compile/modules/kickstart` before any folder is linked there as well. This give the possibility of overriding which kickstart project will be deployed with you. Kickstart is treated as an special folder, given that the projects requires its functions. So, it is loaded before all of the modules, and skiped looping over the `modules` folder. --- lib/kickstart-compile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/kickstart-compile b/lib/kickstart-compile index d4ff9c6..c40b487 100755 --- a/lib/kickstart-compile +++ b/lib/kickstart-compile @@ -2,10 +2,16 @@ module_loading=$(cat <