Browse Source

* fixed uclibc's conffiles_apply() to not inject garbage on the generated sed file

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20560 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
cec760ae9f
  1. 6
      base/uclibc/conffiles-functions.in

6
base/uclibc/conffiles-functions.in

@ -33,13 +33,13 @@ conffiles_apply() {
value='y'
fi
case "$action" in
X) echo "apply_conffiles: rule $prerule=$value."
X) echo "apply_conffiles: rule $prerule=$value." >&2
echo "s,$rule,\2=$value,g" >> $builddir/config.sed
;;
O) echo "apply_conffiles: rule unset $prerule."
O) echo "apply_conffiles: rule unset $prerule." >&2
echo "s,$rule,# \2 is not set,g" >> $builddir/config.sed
;;
-) echo "apply_conffiles: rule remove $prerule."
-) echo "apply_conffiles: rule remove $prerule." >&2
echo "s,$rule,,g" >> $builddir/config.sed
;;
*)

Loading…
Cancel
Save