Revert "添加 config 错误部分提示 (仅供参考)"

This reverts commit 90e1566a54.
This commit is contained in:
Hyy2001X 2021-07-23 16:29:25 +08:00
parent 28e74281ca
commit 052cc34591
7 changed files with 7 additions and 56 deletions

View File

@ -98,17 +98,10 @@ jobs:
- name: Run AutoBuild_DiyScript.sh
run: |
#!/bin/bash
chmod +x Scripts/AutoBuild_*.sh
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
cd openwrt
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
line=$(grep -n "${X}" .config | cut -d ':' -f1)
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
echo "ERROR in line ${line}: ${X}"
}
done
make defconfig
make defconfig > /dev/null 2>&1
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
Firmware-Diy_Main

View File

@ -101,17 +101,10 @@ jobs:
- name: Run AutoBuild_DiyScript.sh
run: |
#!/bin/bash
chmod +x Scripts/AutoBuild_*.sh
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
cd openwrt
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
line=$(grep -n "${X}" .config | cut -d ':' -f1)
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
echo "ERROR in line ${line}: ${X}"
}
done
make defconfig
make defconfig > /dev/null 2>&1
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
Firmware-Diy_Main

View File

@ -101,17 +101,10 @@ jobs:
- name: Run AutoBuild_DiyScript.sh
run: |
#!/bin/bash
chmod +x Scripts/AutoBuild_*.sh
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
cd openwrt
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
line=$(grep -n "${X}" .config | cut -d ':' -f1)
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
echo "ERROR in line ${line}: ${X}"
}
done
make defconfig
make defconfig > /dev/null 2>&1
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
Firmware-Diy_Main

View File

@ -101,17 +101,10 @@ jobs:
- name: Run AutoBuild_DiyScript.sh
run: |
#!/bin/bash
chmod +x Scripts/AutoBuild_*.sh
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
cd openwrt
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
line=$(grep -n "${X}" .config | cut -d ':' -f1)
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
echo "ERROR in line ${line}: ${X}"
}
done
make defconfig
make defconfig > /dev/null 2>&1
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
Firmware-Diy_Main

View File

@ -101,17 +101,10 @@ jobs:
- name: Run AutoBuild_DiyScript.sh
run: |
#!/bin/bash
chmod +x Scripts/AutoBuild_*.sh
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
cd openwrt
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
line=$(grep -n "${X}" .config | cut -d ':' -f1)
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
echo "ERROR in line ${line}: ${X}"
}
done
make defconfig
make defconfig > /dev/null 2>&1
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
Firmware-Diy_Main

View File

@ -101,17 +101,10 @@ jobs:
- name: Run AutoBuild_DiyScript.sh
run: |
#!/bin/bash
chmod +x Scripts/AutoBuild_*.sh
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
cd openwrt
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
line=$(grep -n "${X}" .config | cut -d ':' -f1)
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
echo "ERROR in line ${line}: ${X}"
}
done
make defconfig
make defconfig > /dev/null 2>&1
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
Firmware-Diy_Main

View File

@ -101,17 +101,10 @@ jobs:
- name: Run AutoBuild_DiyScript.sh
run: |
#!/bin/bash
chmod +x Scripts/AutoBuild_*.sh
cp $GITHUB_WORKSPACE/Configs/$CONFIG_FILE openwrt/.config
cd openwrt
egrep -v "^#|LEVEL|DEFAULT|=[0-9]" .config | grep "CONFIG_PACKAGE" | sed '/^\s*$/d' | while read X;do
line=$(grep -n "${X}" .config | cut -d ':' -f1)
[[ ! ${X} =~ '=' || -z $(echo ${X} | cut -d '=' -f2) || ! $(echo ${X} | cut -d '=' -f2) =~ [nym] ]] && {
echo "ERROR in line ${line}: ${X}"
}
done
make defconfig
make defconfig > /dev/null 2>&1
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
Firmware-Diy_Main