[Rpm-maint] [rpm-software-management/rpm] adding `exit 0` in %install makes debuginfo to not generate (#315)
proyvind
notifications at github.com
Sun Sep 3 14:40:20 UTC 2017
No, it's not an rpm bug.
For each stage there's a set of macros of what to run before, during, after etc.
These expanded macros needs to be expanded, so when ie. %install is invoked, it's an macro expanded shell script of %install that forks and returns.
Placing exit at the end of %install in the spec, doesn't mean at the end of macro expanded %install shell script, so what happens is simply that the shell where find-debuginfo.sh is executed from, exits before any of that happens.
'exit 0' is not the right way to skip %check.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/315#issuecomment-326809006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170903/f095eeec/attachment.html>
More information about the Rpm-maint
mailing list