You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "James Clark (JIRA)" <ji...@apache.org> on 2006/09/06 06:46:22 UTC
[jira] Created: (AXIS2C-248) Use set -e in build_all.sh
Use set -e in build_all.sh
--------------------------
Key: AXIS2C-248
URL: http://issues.apache.org/jira/browse/AXIS2C-248
Project: Axis2-C
Issue Type: Improvement
Components: build system (Unix/Linux)
Affects Versions: Current (Nightly)
Reporter: James Clark
Priority: Trivial
Instead of doing
if [ "$?" -ne 0 ]
then
exit 1
fi
after each command, you can just do
set -e
at the beginning, and it will automatically exit if any command is non-zero.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Resolved: (AXIS2C-248) Use set -e in build_all.sh
Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2C-248?page=all ]
Samisa Abeysinghe resolved AXIS2C-248.
--------------------------------------
Fix Version/s: 0.94
Resolution: Fixed
Assignee: Samisa Abeysinghe
Fixed.
Thanks for the input.
> Use set -e in build_all.sh
> --------------------------
>
> Key: AXIS2C-248
> URL: http://issues.apache.org/jira/browse/AXIS2C-248
> Project: Axis2-C
> Issue Type: Improvement
> Components: build system (Unix/Linux)
> Affects Versions: Current (Nightly)
> Reporter: James Clark
> Assigned To: Samisa Abeysinghe
> Priority: Trivial
> Fix For: 0.94
>
>
> Instead of doing
> if [ "$?" -ne 0 ]
> then
> exit 1
> fi
> after each command, you can just do
> set -e
> at the beginning, and it will automatically exit if any command is non-zero.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org