mkfirmware.sh: add "set -e"

scipte should exit when execution results are not true

Change-Id: Ie94ed2af9ad13fd8641bca92f5fe3973b8aa7543
Signed-off-by: Hans Yang <yhx@rock-chips.com>
This commit is contained in:
Hans Yang
2018-09-20 11:09:55 +08:00
parent 256bbda5dd
commit dc84b1b094
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#! /bin/bash
set -e
DEVICE_DIR=$(cd `dirname $0`; pwd)
if [ -h $0 ]
then