title: bash: Unable to run build commands via bash scripts
body: <p>I am trying to run 'make' command from my bash script to build the code.</p>
  
  <p>I can see that all parameters got assigned and able to display the command that i am trying to run. I could not see any issue with the command. But the issue is when it tries to run the command via bash script it fails.</p>
  
  <p><code>My command is :-</code> <code>./build_script LIC=1 DOCUMNETS=1 PROJECTS="cuda bfm"</code></p>
  
  <p>Script Snippet of parsing all the arguments and constructing make command:- </p>
  
  <pre><code>makeargs=""
  for build_flag do
     if [[ "$build_flag " = "PROJECTS="* ]]; then
            apps =`echo $build_flag |sed "s/PROJECTS=//" `
            makeargs="$makeargs PROJECTS=\"$apps \""
     else
          makeargs="$makeargs $build_flag"
      fi
  done
  echo "make DCOV=1 $makeargs $maketest"
  make DCOV=1 $makeargs $maketest
  </code></pre>
  
  <p>When i run the script, I can see the build command has constructed properly.</p>
  
  <p>Output :- </p>
  
  <pre><code>make DCOV=1 LIC=1 DOCUMNETS=1 PROJECTS="cuda bfm" run_all
  GNUmakefile:16: warning: overriding commands for target `/'
  GNUmakefile:19: warning: ignoring old commands for target `/'
  make: *** No rule to make target `bfm"'.  Stop.
  </code></pre>
  
  <p>I try to print <code>PROJECTS</code> variable in my 'GNUmakefile' present in <code>build_main</code> folder. I can see the output : <code>PROJECTS is "bfm</code> . It is not taking whole <code>"cuda bfm"</code> as a whole string.</p>
  
  <p>Note:- When i try to run the same build command :- <code>make DCOV=1 LIC=1 DOCUMNETS=1 PROJECTS="cuda bfm" run_all</code> explicitly it works fine.</p>
  
  <p>Seems like issue with Interpreting variables with makefile. </p>
  
  <p>Any solution for this ? Please help.
  Thanks!</p>