aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-30 16:59:56 +0000
committerRoy Marples <roy@marples.name>2007-12-30 16:59:56 +0000
commitb6fcfd115766c04f5ed490637c709b33b11a241e (patch)
treee4a15c5848419765475c5c65aa19b179c1b5adcb
parentf97a5cd9cb2ee9b79ac389c169b8e3c312ad024a (diff)
We should export SVCNAME so service_* functions work in depend
-rwxr-xr-xsh/gendepends.sh2
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