title: 'unexpected redirection' within bash script in chroot environment
body: <p>In a batch script I have things like:</p>
  
  <pre><code>sudo debconf-set-selections &lt;&lt;&lt; 'mysql-server mysql-server/root_password password PASSWORDHERE'
  sudo debconf-set-selections &lt;&lt;&lt; 'mysql-server mysql-server/root_password_again password PASSWORDHERE'
  </code></pre>
  
  <p>Which throws the error message <code>unexpected redirection</code> associated with such lines, why is this happening and how can I get around it? </p>