OSDN Git Service

[update] : Changed to not perform architecture check during rebuild.
authorhayao <shun819.mail@gmail.com>
Fri, 1 May 2020 11:11:43 +0000 (20:11 +0900)
committerhayao <shun819.mail@gmail.com>
Fri, 1 May 2020 11:11:43 +0000 (20:11 +0900)
build.sh

index 4756523..73a410f 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -347,8 +347,10 @@ remove() {
 # Preparation for build
 prepare_build() {
     # Check architecture for each channel
-    if [[ -z $(cat ${script_path}/channels/${channel_name}/architecture | grep -h -v ^'#' | grep -x "${arch}") ]]; then
-        _msg_error "${channel_name} channel does not support current architecture (${arch})." "1"
+    if [[ ! "${channel_name}" = "rebuild" ]]; then
+        if [[ -z $(cat ${script_path}/channels/${channel_name}/architecture | grep -h -v ^'#' | grep -x "${arch}") ]]; then
+            _msg_error "${channel_name} channel does not support current architecture (${arch})." "1"
+        fi
     fi