summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kelly <pioto@gentoo.org>2007-03-13 01:07:08 +0000
committerMike Kelly <pioto@gentoo.org>2007-03-13 01:07:08 +0000
commite46d074d3b7d76dd114da3e6920a762f3529df7a (patch)
tree68fe27af137e674a53e7766d99958511565a1d6c /eclass/vim.eclass
parentReplacing text-markup herd with the new sgml herd. (diff)
downloadhistorical-e46d074d3b7d76dd114da3e6920a762f3529df7a.tar.gz
historical-e46d074d3b7d76dd114da3e6920a762f3529df7a.tar.bz2
historical-e46d074d3b7d76dd114da3e6920a762f3529df7a.zip
Don't use `which`, use `type -P`.
Diffstat (limited to 'eclass/vim.eclass')
-rw-r--r--eclass/vim.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index d6d93b0e5f44..b51784a6f219 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.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/vim.eclass,v 1.160 2007/02/22 03:23:38 pioto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.161 2007/03/13 01:07:08 pioto Exp $
# Authors:
# Ryan Phillips <rphillips@gentoo.org>
@@ -468,7 +468,7 @@ vim_src_compile() {
# Let Portage do the stripping. Some people like that.
if version_is_at_least "7.0_beta" ; then
- export ac_cv_prog_STRIP="$(which true ) faking strip"
+ export ac_cv_prog_STRIP="$(type -P true ) faking strip"
fi
myconf="${myconf} --with-modified-by=Gentoo-${PVR}"