statically define genkernel location to eliminate which command failure if genkernel...
authorEric Edgar <rocket@gentoo.org>
Thu, 28 Apr 2005 13:09:13 +0000 (13:09 +0000)
committerEric Edgar <rocket@gentoo.org>
Thu, 28 Apr 2005 13:09:13 +0000 (13:09 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@632 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/chroot-functions.sh

index 6f99e090391f2010435bd17958192465551a462e..b823c16df3f90db15df3e0a7ea96da8b7f43c106 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.244 2005/04/27 21:31:05 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.245 2005/04/28 13:09:13 rocket Exp $
+
+  28 Apr 2005; Eric Edgar <rocket@gentoo.org>
+  targets/support/chroot-functions.sh:
+  statically define genkernel location to eliminate which command failure if
+  genkernel is not installed
 
   27 Apr 2005; Eric Edgar <rocket@gentoo.org>
   modules/generic_stage_target.py:
index 6c9ff15d46cadb878b358e95ee973f199255aaef..6c7064a6d0e18b289e556c1ada7622aef25b060a 100755 (executable)
@@ -27,7 +27,7 @@ check_portage_version(){
 }
 
 check_genkernel_version(){
-    if [ -x `which genkernel` ]
+    if [ -x /usr/bin/genkernel ]
     then
        genkernel_version=$(genkernel --version)
        genkernel_version_major=${genkernel_version%%.*}