- **labels**: --> Fixed_2_19_54
- **status**: Started --> Fixed
- **Patch**: push -->
- **Comment**:
I've pushed to staging.
commit d73ef0f31f2e154633da4a763b9a20a13b920ca2
Issue 5013: Fix scripts for environments where "set -ux" carries over
---
** [issues:#5013] Fix scripts for environments where "set -ux" carries over**
**Status:** Fixed
**Labels:** Fixed_2_19_54
**Created:** Fri Dec 16, 2016 12:18 PM UTC by Masamichi Hosoda
**Last Updated:** Wed Dec 21, 2016 06:45 PM UTC
**Owner:** Masamichi Hosoda
Fix scripts for environments where "set -ux" carries over
Normally, in Bourne shell scripts,
"set -ux" does not carry over to child processes.
However, under some conditions, it carries over to child processes.
(E.g. environment variable SHELLOPTS exists.)
If "set -ux" in smart-autogen.sh carries over to the child processes,
autoconf fails.
In order to avoid the issue,
this commit makes smart-autogen.sh and smart-configure.sh use
"set +ux" to cancel the effect of "set -ux"
just before invoking the child process.
Likewise, this commit also removes "set -e"
for avoiding "set -e" carrying over, and adds alternative error handling.
http://codereview.appspot.com/319870043
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto