diff options
-rw-r--r-- | eltpatch.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eltpatch.in b/eltpatch.in index a4e87d2..8f6f9f3 100644 --- a/eltpatch.in +++ b/eltpatch.in @@ -2,6 +2,12 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +# BSD support; https://bugs.gentoo.org/628882 +# note: this need to happen before function definitions +type -P gfind &>/dev/null && alias find=gfind +type -P gpatch &>/dev/null && alias patch=gpatch +type -P gsed &>/dev/null && alias sed=gsed + source "@ELT_gentoofuncs@" || exit 1 die() { |