You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/09/17 03:09:56 UTC
[incubator-nuttx] branch master updated: configure.sh/sethost.sh:
add set -e so that the script aborts on any error
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new c695a59 configure.sh/sethost.sh: add set -e so that the script aborts on any error
c695a59 is described below
commit c695a5924ffe5f262bccf253743df32f930b608b
Author: Matias N <ma...@protobits.dev>
AuthorDate: Wed Sep 16 22:24:23 2020 -0300
configure.sh/sethost.sh: add set -e so that the script aborts on any error
---
tools/configure.sh | 2 ++
tools/sethost.sh | 2 ++
2 files changed, 4 insertions(+)
diff --git a/tools/configure.sh b/tools/configure.sh
index fcfafe7..3bcbaef 100755
--- a/tools/configure.sh
+++ b/tools/configure.sh
@@ -33,6 +33,8 @@
# POSSIBILITY OF SUCH DAMAGE.
#
+set -e
+
WD=`test -d ${0%/*} && cd ${0%/*}; pwd`
TOPDIR="${WD}/.."
USAGE="
diff --git a/tools/sethost.sh b/tools/sethost.sh
index 93d159e..165ec24 100755
--- a/tools/sethost.sh
+++ b/tools/sethost.sh
@@ -17,6 +17,8 @@
# under the License.
#
+set -e
+
progname=$0
host=
wenv=