diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-13 02:01:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-13 02:01:44 +0000 |
commit | f310c7075cfeeffa00a33e1fffee4cbe2e625f4b (patch) | |
tree | 643b0d316b7b0f43a3a928f14b414883256ff927 /eclass/enlightenment.eclass | |
parent | Removing text-markup herd. (diff) | |
download | gentoo-2-f310c7075cfeeffa00a33e1fffee4cbe2e625f4b.tar.gz gentoo-2-f310c7075cfeeffa00a33e1fffee4cbe2e625f4b.tar.bz2 gentoo-2-f310c7075cfeeffa00a33e1fffee4cbe2e625f4b.zip |
use `type -P`, not `which`
Diffstat (limited to 'eclass/enlightenment.eclass')
-rw-r--r-- | eclass/enlightenment.eclass | 4 |
1 files 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 |