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:
@ -1,5 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
DEVICE_DIR=$(cd `dirname $0`; pwd)
|
||||
if [ -h $0 ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user