From 378aa93115d2e5987aef821518925a02fe72958a Mon Sep 17 00:00:00 2001 From: yuyan0428 Date: Thu, 27 Oct 2022 11:57:44 +0000 Subject: [PATCH] Signed-off-by: yuyan0428 Signed-off-by: yuyan0428 --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 86c05c7..a27e54c 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/bash # # Copyright (c) 2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); @@ -14,6 +14,7 @@ # limitations under the License. # +set -e sudo cp ohtest /usr/bin/ if cat ~/.bashrc | grep "DEVTESTDIR" > /dev/null -- Gitee