Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Commit f20513b

Browse files
authored
reverse order of reverting packages
if you apply patches in order a b c, then revert them in order c b a.
1 parent cfd4fea commit f20513b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ make -j "$(getconf _NPROCESSORS_ONLN)" deb-pkg LOCALVERSION=-mbp KDEB_PKGVERSION
8383
while IFS= read -r file; do
8484
echo "==> Reverting $file"
8585
patch -R -p1 <"$file"
86-
done < <(find "${WORKING_PATH}/patches" -type f -name "*.patch" | grep "brcmfmac" | sort)
86+
done < <(find "${WORKING_PATH}/patches" -type f -name "*.patch" | grep "brcmfmac" | sort -r)
8787

8888
echo "==> Adding wifi-bigsur.patch"
8989
curl https://raw.githubusercontent.com/jamlam/mbp-16.1-linux-wifi/4c8b393ed7a874e3d9e44a2a467c1b7c74af1260/wifi-bigsur.patch \

0 commit comments

Comments
 (0)