File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,6 +257,8 @@ APPLY_PR_PATCHES() {
257257 echo " This is WORKING Here:"
258258 file=" $GITHUB_WORKSPACE " /scripts/data/PR_patches.txt
259259 while read -r line; do
260+ if [ " $line " = " " ]; then continue
261+ fi
260262 cd " $GITHUB_WORKSPACE " /openwrt && wget https://patch-diff.githubusercontent.com/raw/openwrt/openwrt/pull/" $line " .patch
261263 echo " Applying $line .patch"
262264 git am " $line " .patch || error_return " Patch Failed, Aborting Patch"
@@ -268,6 +270,8 @@ APPLY_PR_PATCHES_PACKAGES() {
268270 echo " This is WORKING Here:"
269271 file=" $GITHUB_WORKSPACE " /scripts/data/PR_patches_packages.txt
270272 while read -r line; do
273+ if [ " $line " = " " ]; then continue
274+ fi
271275 cd " $GITHUB_WORKSPACE " /openwrt/feeds/packages && wget https://patch-diff.githubusercontent.com/raw/openwrt/packages/pull/" $line " .patch
272276 echo " Applying $line .patch"
273277 git am " $line " .patch || error_return " Patch Failed, Aborting Patch"
You can’t perform that action at this time.
0 commit comments