From: Eric Edgar Date: Thu, 28 Apr 2005 13:09:13 +0000 (+0000) Subject: statically define genkernel location to eliminate which command failure if genkernel... X-Git-Tag: CATALYST_2_0_6_916~751 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3849dfb2070549e48d21ec754757fd32e5cc05c;p=catalyst.git statically define genkernel location to eliminate which command failure if genkernel is not installed git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@632 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index 6f99e090..b823c16d 100644 --- 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 + targets/support/chroot-functions.sh: + statically define genkernel location to eliminate which command failure if + genkernel is not installed 27 Apr 2005; Eric Edgar modules/generic_stage_target.py: diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh index 6c9ff15d..6c7064a6 100755 --- a/targets/support/chroot-functions.sh +++ b/targets/support/chroot-functions.sh @@ -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%%.*}