From b6fcfd115766c04f5ed490637c709b33b11a241e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 30 Dec 2007 16:59:56 +0000 Subject: We should export SVCNAME so service_* functions work in depend --- sh/gendepends.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh') diff --git a/sh/gendepends.sh b/sh/gendepends.sh index b162e750..a2b2181a 100755 --- a/sh/gendepends.sh +++ b/sh/gendepends.sh @@ -63,7 +63,7 @@ for _dir in /etc/init.d /usr/local/etc/init.d; do [ "${one}" = "#!/sbin/runscript" ] || continue unset one two - SVCNAME=${SVCNAME##*/} + export SVCNAME=${SVCNAME##*/} ( # Save stdout in fd3, then remap it to stderr exec 3>&1 1>&2 -- cgit v1.2.3