Remove leading dollar sign in rcvar command output.

There's no dollar use in variable assignment in sh.
Assuming this is can be expected behavior for some
people, this change won't be MFC'ed to RELENG_6.

Discussed with:	yar on -rc
This commit is contained in:
Florent Thoumie 2006-11-26 19:03:19 +00:00
parent dc46be1cbf
commit e1ad9834a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164629

View File

@ -808,9 +808,9 @@ $command $rc_flags $command_args"
echo "# $name"
if [ -n "$rcvar" ]; then
if checkyesno ${rcvar}; then
echo "\$${rcvar}=YES"
echo "${rcvar}=YES"
else
echo "\$${rcvar}=NO"
echo "${rcvar}=NO"
fi
fi
;;