mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
configure.sh/sethost.sh: add set -e so that the script aborts on any error
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
WD=`test -d ${0%/*} && cd ${0%/*}; pwd`
|
||||
TOPDIR="${WD}/.."
|
||||
USAGE="
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
progname=$0
|
||||
host=
|
||||
wenv=
|
||||
|
||||
Reference in New Issue
Block a user