Skip to content

Commit

Permalink
Exit compilation when updating feeds fails to avoid compiling incompl…
Browse files Browse the repository at this point in the history
…ete firmware
  • Loading branch information
guoxiaoqiao committed Sep 24, 2024
1 parent 3bff76c commit c3e5b0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ EOF

# Execute the build commands
make package/symlinks
if [ $? -ne 0 ]; then
echo "Error: Package feeds update failed, please try again."
exit 1
fi

make defconfig
make -j8 V=sc
}
Expand Down

0 comments on commit c3e5b0f

Please sign in to comment.