On Mon, 2008-08-04 at 09:00 +0100, Roy Marples wrote:
> On Mon, 2008-08-04 at 10:49 +0300, Ahmed Ammar wrote:
> > On Mon, 2008-08-04 at 07:51 +0100, Roy Marples wrote:
> > > On Mon, 2008-08-04 at 09:29 +0300, Ahmed Ammar wrote:
> > > > I have attached a small patch for the wrappers to fix compatibility with
> > > > openrc.
> > > 
> > > /etc/init.d/functions.sh always exists and points correctly for
> > > baselayout-1 and OpenRC. You should not have to reference einfo by full
> > > path either.
> > 
> > for openrc einfo isn't in the user path so it must be called
> > explicitly. /etc/init.d/functions.sh might be a good shout though.
> 
> The act of sourcing /etc/init.d/functions.sh puts einfo into $PATH :)

Indeed, slow day =)

Regards,

-- 
Ahmed Ammar (b33fc0d3 [at] gentoo.org)
--- cross-fix-root.orig	2008-06-19 07:56:02.000000000 +0300
+++ cross-fix-root	2008-08-04 11:17:25.000000000 +0300
@@ -45,4 +45,4 @@
 fix_pc_files ${CROSS_ROOT}
 pc_count=$?
 :
-( . /sbin/functions.sh ; einfo "Scanned/Fixed $pc_count "'*'".pc and $la_count "'*'".la files" )
+( . /etc/init.d/functions.sh ; einfo "Scanned/Fixed $pc_count "'*'".pc and $la_count "'*'".la files" )

Reply via email to