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
commit8567d38fe9e048e56ffaf5ca2fc4f88922b535e2 (patch)
tree0d2bb73e6d41b840d1a35a50394aaa5378bb14b6 /scripts
parentupdate bash syntax bug #50158 (diff)
downloadhistorical-8567d38fe9e048e56ffaf5ca2fc4f88922b535e2.tar.gz
historical-8567d38fe9e048e56ffaf5ca2fc4f88922b535e2.tar.bz2
historical-8567d38fe9e048e56ffaf5ca2fc4f88922b535e2.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 ...