title: Multiple path additions to a variable in Linux (Bash)
body: <p>I would like to know if my following implementation is correct or wrong. </p>
  
  <p>I have a variable called <code>$MY_HUGE_PATH_VARIABLE</code>. </p>
  
  <p>I need to enhance it by adding a few directories and all directories within those directories.</p>
  
  <p>I set it up like this:</p>
  
  <pre><code>export MY_HUGE_PATH_VARIABLE=$PATH_1/version1/*\:\
  $PATH_2/version4/*\:\
  $PATH_n/versionn/*\
  </code></pre>
  
  <p>Is this correct. Does that <code>*</code> work when exporting paths? Are there any other issues with this piece of script. I am working on a Redhat Linux machine and my script in bash shell.</p>
  
  <p>My aim is to include all the jar files within these folders for my Java compilation. 
  My intention is to understand this stuff. the shell has not really thrown any errors to me as of yet and the script is part of a bigger set-up which I have not yet tested. </p>