<p><a href="https://github.com/lkardos" class="user-mention">@lkardos</a> Thanks for the hint; that syntax was new to me. In a first attempt, it indeed works from the console with <code>quilt</code> and <code>.zip</code>ped patches. However, <code><(cat)</code> seems to be <strong>bash</strong> syntax. Both <strong>debbuild</strong> and <strong>rpmbuild</strong> use <code>#!/bin/sh</code> as the executing shell interpreter, which – at least on my two systems – resolves to <strong>dash</strong> and results in a 'syntax error' at the opening parenthesis, when used in the <code>%__scm_apply_{quilt|svn}</code> macros. Manually running the scripts with <strong>bash</strong> works OK.</p>

<p>Although I <em>could</em> modify the script generation in <strong>debbuild</strong> to use <code>#!/bin/bash</code>, I don't know how easily <strong>rpmbuild</strong> could be modified accordingly. And, of course, using <strong>bash</strong> as executing shell would totally defeat the purpose of <strong>dash</strong> in the first place.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/rpm-software-management/rpm/pull/55#issuecomment-176278885">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ANb80ws-yEaHG81tGRDIA4g7HVO-Xjdhks5pej3zgaJpZM4HLi_k.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/rpm-software-management/rpm/pull/55#issuecomment-176278885"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>