--- gentoo-x86/dev-lang/ghc/files/ghc-updater. 2007-07-26 20:00:54.000000000 +0200 +++ gentoo-x86/dev-lang/ghc/files/ghc-updater 2007-08-24 15:51:19.000000000 +0200 @@ -80,7 +80,11 @@ # load the gentoo-style info macros, but hack to get around # it thinking this is an rc script EBUILD="1" -source /sbin/functions.sh +if [[ -e /lib/rcscripts/sh/functions.sh ]]; then + source /lib/rcscripts/sh/functions.sh +else + source /sbin/functions.sh +fi # misc helper functions eloginfo() {
Fixed, thanks.
*** Bug 202917 has been marked as a duplicate of this bug. ***
This fix is wrong, it should simply source /etc/init.d/functions.sh which *always* exists and points to a correct location, baselayout-2* or not.
Oh, even better. Committed, thanks Jakub.