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

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

---
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/55#issuecomment-176278885
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to