Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Apr 11, 2024
1 parent e632726 commit a041aa0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -867,8 +867,10 @@ fi
if [ "$OMR_KERNEL" = "5.4" ] && ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-base-add_array_sort_utilities.patch; then
patch -N -p1 -s < ../../patches/luci-base-add_array_sort_utilities.patch
fi
if [ ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-nftables.patch ] && [ -d luci/modules/luci-mod-status ]; then
patch -N -p1 -s < ../../patches/luci-nftables.patch
if [ -d luci/modules/luci-mod-status ]; then
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-nftables.patch; then
patch -N -p1 -s < ../../patches/luci-nftables.patch
fi
fi

cd ../..
Expand Down

0 comments on commit a041aa0

Please sign in to comment.