summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2007-12-23 13:17:11 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2007-12-23 13:17:11 +0000
commit5dba89163eb1002b430be6f3df73617eb7d2bead (patch)
tree30f4fdd810b6402861fe149a172de7d4960e442d /dev-lang/ghc/files
parentFix #199532 (diff)
downloadgentoo-2-5dba89163eb1002b430be6f3df73617eb7d2bead.tar.gz
gentoo-2-5dba89163eb1002b430be6f3df73617eb7d2bead.tar.bz2
gentoo-2-5dba89163eb1002b430be6f3df73617eb7d2bead.zip
Fix ghc-updater of dev-lang/ghc to solve #190043.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-lang/ghc/files')
-rwxr-xr-xdev-lang/ghc/files/ghc-updater9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-lang/ghc/files/ghc-updater b/dev-lang/ghc/files/ghc-updater
index 622735cc9028..727089509eb6 100755
--- a/dev-lang/ghc/files/ghc-updater
+++ b/dev-lang/ghc/files/ghc-updater
@@ -80,11 +80,10 @@ done
# load the gentoo-style info macros, but hack to get around
# it thinking this is an rc script
EBUILD="1"
-if [[ -e /lib/rcscripts/sh/functions.sh ]]; then
- source /lib/rcscripts/sh/functions.sh
-else
- source /sbin/functions.sh
-fi
+
+# /etc/init.d/functions.sh always points to the correct functions.sh no
+# matter which version of baselayout
+source /etc/init.d/functions.sh
# misc helper functions
eloginfo() {