diff options
author | Roy Marples <roy@marples.name> | 2007-12-30 16:59:56 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-12-30 16:59:56 +0000 |
commit | b6fcfd115766c04f5ed490637c709b33b11a241e (patch) | |
tree | e4a15c5848419765475c5c65aa19b179c1b5adcb | |
parent | f97a5cd9cb2ee9b79ac389c169b8e3c312ad024a (diff) |
We should export SVCNAME so service_* functions work in depend
-rwxr-xr-x | sh/gendepends.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |