Use 'printf "%s\n"' instead of 'echo -n'.

This commit is contained in:
Laurent Rineau 2007-03-22 14:59:41 +00:00
parent a439fa27b5
commit 10ccff6780
1 changed files with 1 additions and 1 deletions

View File

@ -3781,7 +3781,7 @@ makefile_print_from_var()
{
_tmp="`value_of \"${1}\"`"
if [ -n "${_tmp}" ]; then
echo -n "${_tmp}" | ${_awk} 'BEGIN {RS=""}{printf " \\\n\t%s",$0}'
${_printf} "%s\n" "${_tmp}" | ${_awk} 'BEGIN {RS=""}{printf " \\\n\t%s",$0}'
fi
}