![](https://seccdn.libravatar.org/avatar/5b748275c3dbb1ceee18ed554486547d.jpg?s=120&d=mm&r=g)
14 Mar
2019
14 Mar
'19
11:17
On Wednesday 2019-03-13 14:54, Marcus Hüwe wrote:
It is not always clear how to do that. I thought there is a way to switch rpm spec scriptlets to different shell but did not find how to do that for %build.
You can specify it via the %__spec_build_cmd macro. For instance, you could add a
%define __spec_build_cmd /bin/bash -e
line to your spec file.
That looks really insance. Why not just do what specfiles already do? %define _buildshell /bin/bash -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org