issues
search
sclorg
/
spec2scl
MIT License
7
stars
7
forks
source link
Add `set -e` and wrap whole section in a single "scl enable"
#25
Closed
irushchyshyn
closed
7 years ago
irushchyshyn
commented
7 years ago
Reverted and reworked 9a02d4d as it introduced regression. Added more tests.
Fix issue #17:
Do
set -e
so that the script behaviour is consistent regardless of whether the script is executed in the rpm shell or the scl environment.
https://bugzilla.redhat.com/show_bug.cgi?id=1184515
https://www.softwarecollections.org/en/docs/guide/#sect-Converting_RPM_Scripts
Wrap whole section in a single "scl enable"
set -e
so that the script behaviour is consistent regardless of whether the script is executed in the rpm shell or the scl environment. https://bugzilla.redhat.com/show_bug.cgi?id=1184515 https://www.softwarecollections.org/en/docs/guide/#sect-Converting_RPM_Scripts