configure.sh/sethost.sh: add set -e so that the script aborts on any error

This commit is contained in:
Matias N 2020-09-16 22:24:23 -03:00 committed by Xiang Xiao
parent e916896aa9
commit c695a5924f
2 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,8 @@
# POSSIBILITY OF SUCH DAMAGE.
#
set -e
WD=`test -d ${0%/*} && cd ${0%/*}; pwd`
TOPDIR="${WD}/.."
USAGE="

View File

@ -17,6 +17,8 @@
# under the License.
#
set -e
progname=$0
host=
wenv=