Don't use local here

This commit is contained in:
Roy Marples 2007-09-02 12:55:18 +00:00
parent c04af92cb4
commit 2d39857170

View File

@ -32,7 +32,6 @@ for SVCNAME in * ; do
[ -x "${SVCNAME}" ] || continue [ -x "${SVCNAME}" ] || continue
# Only generate dependencies for Gentoo runscripts # Only generate dependencies for Gentoo runscripts
local one= two=
read one two < "${SVCNAME}" read one two < "${SVCNAME}"
[ "${one}" = "#!/sbin/runscript" ] || continue [ "${one}" = "#!/sbin/runscript" ] || continue
unset one two unset one two