title: Shebang being mangled by rpmbuild
body: <p>When I build my rpm package the shebang in my script file is being changed. Here is a sample of the file contents with the shebang:</p>
  <pre><code>#!/usr/bin/env -S npx ts-node -T
  
  // Some Typescript code
  let myArray:Array&lt;number&gt; = new Array&lt;number&gt;();
  myArray.push(1);
  myArray.push(2);
  myArray.push(3);
  console.log(myArray);
  </code></pre>
  <p>RPM Build Message</p>
  <pre><code>mangling shebang in /home/userx/bin/js/utils/test.ts from /usr/bin/env -S npx ts-node -T to 
  #!/usr/bin/-S npx ts-node -T
  </code></pre>
  <p>Resulting file when installed:</p>
  <pre><code>#!/usr/bin/-S npx ts-node -T
  
  // Some Typescript code
  let myArray:Array&lt;number&gt; = new Array&lt;number&gt;();
  myArray.push(1);
  myArray.push(2);
  myArray.push(3);
  console.log(myArray);
  </code></pre>
  <p>The RPM build is done on the same machine as the install. /usr/bin/env exists. The script does run without errors in its original form. Any help is appreciated.</p>