OSDN Git Service

[fix] : Correctly display errors from older versions
authorhayao <shun819.mail@gmail.com>
Sun, 4 Oct 2020 13:14:48 +0000 (22:14 +0900)
committerhayao <shun819.mail@gmail.com>
Sun, 4 Oct 2020 13:14:48 +0000 (22:14 +0900)
allarch.sh
build.sh

index 45576ea..54c138c 100755 (executable)
@@ -1368,7 +1368,7 @@ set +eu
 
 # Check for a valid channel name
 if [[ -n "${1}" ]]; then
-    case "$(bash "${script_path}/tools/channel.sh" -m check "${1}")" in
+    case "$(bash "${script_path}/tools/channel.sh" -n -m check "${1}")" in
         "incorrect")
             msg_error "Invalid channel ${1}" "1"
             ;;
index 5f24254..0a191d4 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1450,7 +1450,7 @@ set +eu
 
 # Check for a valid channel name
 if [[ -n "${1}" ]]; then
-    case "$(bash "${script_path}/tools/channel.sh" -m check "${1}")" in
+    case "$(bash "${script_path}/tools/channel.sh" -n -m check "${1}")" in
         "incorrect")
             msg_error "Invalid channel ${1}" "1"
             ;;