cslucr / ubuntu-ucr

Ubuntu personalizado para la Universidad de Costa Rica
GNU General Public License v3.0
6 stars 7 forks source link

Added parameters handling #71

Closed constrict0r closed 6 years ago

constrict0r commented 6 years ago

Added includes/parameters.sh and test to capture script parameters.

valarauco commented 6 years ago

I'm working on a function to do the source of the includes and configs. Looks like this:

function source_from_folder(){
  local folder=$1
  local extension=$2
  find "${folder}" -name "$extension" -exec echo source {} \; 
} 

But it sources all files with "$extension". My question is: do we want to source by individual/explicit files or do we just source all inside folder?

From this PR, @constrict0r do explicit includes.