summaryrefslogtreecommitdiff
path: root/eclass/epatch.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-28 09:49:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-03-28 09:49:11 +0100
commit115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce (patch)
treec31afe35699960753f76770d6b0b4ea48af9f686 /eclass/epatch.eclass
parente292b671b113c2cc012beddad93a3df4f9410698 (diff)
gentoo auto-resync : 28:03:2023 - 09:49:10
Diffstat (limited to 'eclass/epatch.eclass')
-rw-r--r--eclass/epatch.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/epatch.eclass b/eclass/epatch.eclass
index 07f802583fc7..c42aef8e80d1 100644
--- a/eclass/epatch.eclass
+++ b/eclass/epatch.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: epatch.eclass
@@ -190,7 +190,7 @@ epatch() {
local patchname=${x##*/}
# Apply single patches, or forced sets of patches, or
- # patches with ARCH dependant names.
+ # patches with ARCH dependent names.
# ???_arch_foo.patch
# Else, skip this input altogether
local a=${patchname#*_} # strip the ???_
@@ -272,7 +272,7 @@ epatch() {
fi
# Check for absolute paths in patches. If sandbox is disabled,
- # people could (accidently) patch files in the root filesystem.
+ # people could (accidentally) patch files in the root filesystem.
# Or trigger other unpleasantries #237667. So disallow -p0 on
# such patches.
local abs_paths=$(grep -E -n '^[-+]{3} /' "${PATCH_TARGET}" | awk '$2 != "/dev/null" { print }')