mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Fix build script
This commit is contained in:
parent
e632726cc2
commit
a041aa07b0
1 changed files with 4 additions and 2 deletions
6
build.sh
6
build.sh
|
@ -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
|
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
|
patch -N -p1 -s < ../../patches/luci-base-add_array_sort_utilities.patch
|
||||||
fi
|
fi
|
||||||
if [ ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-nftables.patch ] && [ -d luci/modules/luci-mod-status ]; then
|
if [ -d luci/modules/luci-mod-status ]; then
|
||||||
patch -N -p1 -s < ../../patches/luci-nftables.patch
|
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/luci-nftables.patch; then
|
||||||
|
patch -N -p1 -s < ../../patches/luci-nftables.patch
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue