title: Makefile - Why is the read command not reading the user input?
body: <p>I have the following code inside a Makefile:</p>
  
  <pre><code># Root Path
  echo "What is the root directory of your webserver? Eg. ~/Server/htdocs" ;
  read root_path ;
  echo $root_path ;
  if [ ! -d $root_path ] ; then \
      echo "Error: Could not find that location!" ; exit 1 ; \
  fi
  </code></pre>
  
  <p>However when typing anything (eg. "asd") this is what gets returned:</p>
  
  <pre><code>What is the root directory of your webserver? Eg. ~/Server/htdocs
  
  asd
  oot_path
  Error: Could not find that location!
  </code></pre>
  
  <p>When what I would expect to see would be:</p>
  
  <pre><code>What is the root directory of your webserver? Eg. ~/Server/htdocs
  
  asd
  asd
  Error: Could not find that location!
  </code></pre>
  
  <p>How do I fix this???</p>