From e63980a58fc8235b8b2ac1333850877ea623348c Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Fri, 14 Jul 2023 18:24:32 +0800 Subject: [PATCH] error --- build_action.sh | 2 +- build_action_xanmod.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_action.sh b/build_action.sh index 4941ce0..157684f 100644 --- a/build_action.sh +++ b/build_action.sh @@ -16,7 +16,7 @@ if [[ $2 == 1 ]]; then SHOWVERSION=$VERSION-hwe fi curl https://github.com/gfdgd-xi/dclc-kernel/raw/main/$SHOWVERSION/index.html | grep 404 -if [[ $? == 0 ]]; then +if [[ $? != 0 ]]; then exit fi # install dep diff --git a/build_action_xanmod.sh b/build_action_xanmod.sh index 19ec16d..79c9d09 100644 --- a/build_action_xanmod.sh +++ b/build_action_xanmod.sh @@ -20,7 +20,7 @@ if [[ $2 == 1 ]]; then SHOWVERSION=$VERSION-hwe fi curl https://github.com/gfdgd-xi/dclc-kernel/raw/main/$SHOWVERSION/index.html | grep 404 -if [[ $? == 0 ]]; then +if [[ $? != 0 ]]; then exit fi # install dep