summaryrefslogtreecommitdiff
path: root/sh/gendepends.sh.in
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-04-26 12:56:44 -0500
committerWilliam Hubbs <williamh@gentoo.org>2012-04-26 12:56:44 -0500
commit8c82637e76dcc6a076bdc5e17c142ec8999364a1 (patch)
tree68b96a9d8f12957aedc29a28ed5a746f85f1cb57 /sh/gendepends.sh.in
parent8d63719418de14248bb4bd3b4a0ce5599f8f3092 (diff)
downloadopenrc-8c82637e76dcc6a076bdc5e17c142ec8999364a1.tar.gz
openrc-8c82637e76dcc6a076bdc5e17c142ec8999364a1.tar.bz2
openrc-8c82637e76dcc6a076bdc5e17c142ec8999364a1.tar.xz
fix references to functions.sh
There were a couple of places where we were sourcing functions.sh in @SYSCONFDIR@/init.d. This is only a backward compatibility symlink, so it should not be used for openrc. The correct place to source this from is @LIBEXECDIR@/sh.
Diffstat (limited to 'sh/gendepends.sh.in')
-rw-r--r--sh/gendepends.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in
index 8858bac..8dab3c2 100644
--- a/sh/gendepends.sh.in
+++ b/sh/gendepends.sh.in
@@ -4,7 +4,7 @@
# Copyright (c) 2007-2009 Roy Marples <roy@marples.name>
# Released under the 2-clause BSD license.
-. @SYSCONFDIR@/init.d/functions.sh
+. @LIBEXECDIR@/sh/functions.sh
. @LIBEXECDIR@/sh/rc-functions.sh
config() {