From 9036324202417c72aa2cc1dd732c135eb00c68fd Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 15 Aug 2025 11:19:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E5=A4=9A=E4=B8=AA=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E4=B8=AD=E6=B7=BB=E5=8A=A0set=20-e=E4=BB=A5=E7=A1=AE?= =?UTF-8?q?=E4=BF=9D=E9=94=99=E8=AF=AF=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-docker.sh | 1 + build.sh | 1 + linux/usr/local/etc/omc/script/init_ne.sh | 1 + linux/usr/local/etc/omc/script/setup.sh | 1 + pkg-docker.sh | 1 + pkg-remove-chinese.sh | 1 + pkg.sh | 1 + 7 files changed, 7 insertions(+) diff --git a/build-docker.sh b/build-docker.sh index 1d68c3a..af5e0a8 100644 --- a/build-docker.sh +++ b/build-docker.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e # Check if Docker is installed if command -v docker &> /dev/null; then diff --git a/build.sh b/build.sh index 72b2640..c5ce45d 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e # Default Version VERSION="1.0.0" diff --git a/linux/usr/local/etc/omc/script/init_ne.sh b/linux/usr/local/etc/omc/script/init_ne.sh index ccea9d4..3632c6f 100644 --- a/linux/usr/local/etc/omc/script/init_ne.sh +++ b/linux/usr/local/etc/omc/script/init_ne.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e declare -A NE_LIST # Default network element number ne_id = 001 diff --git a/linux/usr/local/etc/omc/script/setup.sh b/linux/usr/local/etc/omc/script/setup.sh index a260cd0..161605f 100644 --- a/linux/usr/local/etc/omc/script/setup.sh +++ b/linux/usr/local/etc/omc/script/setup.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e OMCBinFile=/usr/local/bin/omc OMCEtcDir=/usr/local/etc/omc diff --git a/pkg-docker.sh b/pkg-docker.sh index d40c8a4..fc20f00 100644 --- a/pkg-docker.sh +++ b/pkg-docker.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e # front-end Catalog WebDir=/root/omc.git/fe.ems.vue3 diff --git a/pkg-remove-chinese.sh b/pkg-remove-chinese.sh index b9eb048..8f11243 100644 --- a/pkg-remove-chinese.sh +++ b/pkg-remove-chinese.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e # front-end Catalog WebDir=/root/omc.git/fe.ems.vue3 diff --git a/pkg.sh b/pkg.sh index 92a8cf7..4f6f30c 100644 --- a/pkg.sh +++ b/pkg.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e # front-end Catalog WebDir=/root/omc.git/fe.ems.vue3