summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-03-01 22:10:50 +0000
committerNaohiro Aota <naota@gentoo.org>2012-03-01 22:10:50 +0000
commit2c2c132983ec0c415bc45f7e8b3a6c609058047c (patch)
tree431d39e79d81196bf6baed44500a849332726c4b /eclass/eutils.eclass
parentversion bump, switch to strict mode since everything in the tree is now fine ... (diff)
downloadgentoo-2-2c2c132983ec0c415bc45f7e8b3a6c609058047c.tar.gz
gentoo-2-2c2c132983ec0c415bc45f7e8b3a6c609058047c.tar.bz2
gentoo-2-2c2c132983ec0c415bc45f7e8b3a6c609058047c.zip
Consider patch alias, #404447
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 82b57058bcb1..143d5acbc202 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.385 2012/03/01 07:00:40 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.386 2012/03/01 22:10:50 naota Exp $
# @ECLASS: eutils.eclass
# @MAINTAINER:
@@ -444,7 +444,7 @@ epatch() {
# Dynamically detect the correct -p# ... i'm lazy, so shoot me :/
local patch_cmd
while [[ ${count} -lt 5 ]] ; do
- patch_cmd="patch -p${count} ${EPATCH_OPTS}"
+ patch_cmd="${BASH_ALIASES[patch]:-patch} -p${count} ${EPATCH_OPTS}"
# Generate some useful debug info ...
(