From a502f94672491e7affcf8914d73c214d7317a43c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 13 Mar 2007 02:01:44 +0000 Subject: [PATCH] use `type -P`, not `which` --- eclass/enlightenment.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass index c4c11d8a9003..74480ffd9750 100644 --- a/eclass/enlightenment.eclass +++ b/eclass/enlightenment.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.70 2007/01/18 02:09:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.71 2007/03/13 02:01:44 vapier Exp $ # # Author: vapier@gentoo.org @@ -111,7 +111,7 @@ enlightenment_pkg_setup() { # the stupid gettextize script prevents non-interactive mode, so we hax it gettext_modify() { use nls || return 0 - cp $(which gettextize) "${T}"/ || die "could not copy gettextize" + cp $(type -P gettextize) "${T}"/ || die "could not copy gettextize" sed -i \ -e 's:read dummy < /dev/tty::' \ "${T}"/gettextize -- 2.26.2