summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-10-30 15:31:37 -0700
committerMichael Forney <mforney@mforney.org>2022-10-30 15:31:37 -0700
commit4d42d8a3eb459fa124dc7090a6dffe1e5d46c491 (patch)
tree3df0eab8c798d6d55595d9ebb926db1ddde24079 /scripts
parent9efcfba5d4c95dead994ee57cfa249e553c304e2 (diff)
Only apply patches ending in .patch
This way you can rename them to skip application.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/fetch-curl.sh2
-rw-r--r--scripts/fetch-git.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/fetch-curl.sh b/scripts/fetch-curl.sh
index a6d5af57..16cb88d7 100644
--- 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
index 460df460..9bff3ad0 100644
--- 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