logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 4d42d8a3eb459fa124dc7090a6dffe1e5d46c491
parent 9efcfba5d4c95dead994ee57cfa249e553c304e2
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 30 Oct 2022 15:31:37 -0700

Only apply patches ending in .patch

This way you can rename them to skip application.

Diffstat:

Mscripts/fetch-curl.sh2+-
Mscripts/fetch-git.sh2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/fetch-curl.sh b/scripts/fetch-curl.sh @@ -24,5 +24,5 @@ while read -r _ archive ; do done <sha256 if [ -d patch ] ; then - git apply -v --whitespace=nowarn --directory "$dir/src" patch/* + git apply -v --whitespace=nowarn --directory "$dir/src" patch/*.patch fi diff --git a/scripts/fetch-git.sh b/scripts/fetch-git.sh @@ -9,5 +9,5 @@ cd "$1" git submodule update --init --checkout src if [ -d patch ] ; then - git -C src am --keep-non-patch --whitespace=nowarn "$PWD"/patch/* + git -C src am --keep-non-patch --whitespace=nowarn "$PWD"/patch/*.patch fi