summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-06-18 03:06:21 +0000
committerNed Ludd <solar@gentoo.org>2004-06-18 03:06:21 +0000
commit5c409846585bd307c198961c8e5bd8709fe2480b (patch)
tree90af2ee848d5dfb3c5652d8158e7061fa26528ea /scripts
parentupdate bash syntax bug #50158 (diff)
downloadgentoo-2-5c409846585bd307c198961c8e5bd8709fe2480b.tar.gz
gentoo-2-5c409846585bd307c198961c8e5bd8709fe2480b.tar.bz2
gentoo-2-5c409846585bd307c198961c8e5bd8709fe2480b.zip
type -p is one less dep over 'which'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootstrap-2.6.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bootstrap-2.6.sh b/scripts/bootstrap-2.6.sh
index b1865c77e1bb..fc8a7c781def 100644
--- a/scripts/bootstrap-2.6.sh
+++ b/scripts/bootstrap-2.6.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap-2.6.sh,v 1.6 2004/06/18 02:45:41 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap-2.6.sh,v 1.7 2004/06/18 03:06:21 solar Exp $
# IMPORTANT NOTE:
# This script no longer accepts an optional argument.
@@ -121,7 +121,7 @@ fi
# bug #50158
# if ! which portageq &>/dev/null
-if which portageq &>/dev/null
+if type -path portageq &>/dev/null
then
# Check if the user have 'nptl' in USE, and if so, check if we
# have proper linux headers ...