Bug 225317 - app-admin/metalog: consolelog.sh is #!/bin/sh but uses "source"
Bug#: 225317 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: vaeth@mathematik.uni-wuerzburg.de
Component: Ebuilds
URL: 
Summary: app-admin/metalog: consolelog.sh is #!/bin/sh but uses "source"
Keywords:  
Status Whiteboard: 
Opened: 2008-06-08 09:20 0000
Description:   Opened: 2008-06-08 09:20 0000
If /bin/sh links to dash, the "source" command in /sbin/consolelog.sh fails
tacitly, i.e. the defaults are used and /etc/conf.d/metalog is ignored.
A solution would be to use the standard "." instead of "source".
Alternatively, #!/bin/sh might be replaced by #!/bin/bash.

------- Comment #1 From SpanKY 2008-06-08 20:17:51 0000 -------
fixed in cvs

http://sources.gentoo.org/app-admin/metalog/files/consolelog.sh?r1=1.6&r2=1.7