title: Rational Quality Manager CLI Adapter not returning attachments during execution
body: <p>I have a local bash script that is being executed by RQM through the RQM Command Line Interface Adapter. I want to return some results back into my Test Execution Record as described here:</p>
  
  <p><a href="https://jazz.net/library/article/809" rel="nofollow noreferrer">https://jazz.net/library/article/809</a></p>
  
  <p>I have a line in the script that should handle this:</p>
  
  <pre><code>echo hypervisors=/tmp/hypv.out &gt;&gt; $qm_AttachmentsFile
  </code></pre>
  
  <p>However, when I run the TER I end up with the STDOUT from the script as is normal, and another .err file with the following contents:</p>
  
  <pre><code>/home/vance/RQM-scripts/sample1.sh: line 21: $qm_AttachmentsFile: ambiguous redirect
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/hN2XH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hN2XH.png" alt="enter image description here"></a></p>
  
  <p>I know that the bash error "ambiguous redirect" is probably due to the qm_AttachmentsFile not existing, but it should!</p>
  
  <p>Any help please? </p>