[Rpm-maint] [rpm-software-management/rpm] Hidden doc copy failures in rpm-4.11.x (#808)
notifications at github.com
Wed Aug 7 22:19:46 UTC 2019
By collecting the files and generating a series of `cp` commands, this means the return code check is controlled by the last `cp` line in that script.
Using something like `set -e` would allow checking for any copy failures, but may mean some copies are not attempted. A better approach is setting a failure flag for all failures and only returning success from the script if that flag was never set.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint