#18 move scripts that use pipes into subshells and set -o pipefail
Merged by decathorpe. Opened by decathorpe.
Unknown source main

Download 18.patch
  • moved macros that contain bash "scriptlets" with pipes into subshells and set -euo pipefail there
  • applied more consistent formatting to multiline macros

I've made a COPR with builds of various Rust packages against cargo2rpm v0.1.9 and rust-packaging v25 snapshot that contains this patch:
https://copr.fedorainfracloud.org/coprs/decathorpe/rust-packaging-v25/monitor/

They should use all macros changed in this PR (except for %cargo_vendor_manifest).

As far as I can tell, this is all working as expected.

Pull-Request has been merged by decathorpe

Metadata