Mercurial > mplayer.hg
changeset 19429:3fb0eb698ce8
replace echo with printf; fixes compilation when shell is dash and
language is not English
author | corey |
---|---|
date | Fri, 18 Aug 2006 02:23:44 +0000 |
parents | cf43941d21a5 |
children | de5065d3ce74 |
files | help/help_diff.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/help/help_diff.sh Fri Aug 18 02:22:39 2006 +0000 +++ b/help/help_diff.sh Fri Aug 18 02:23:44 2006 +0000 @@ -10,7 +10,7 @@ while read -r line; do if echo "$line" | grep '^#define' > /dev/null 2>&1; then - curr=`echo "$line" | cut -d ' ' -f 2` + curr=`printf "%s\n" "$line" | cut -d ' ' -f 2` if grep "^#define $curr[ ]" $1 > /dev/null 2>&1; then curr="" fi @@ -21,6 +21,6 @@ fi if [ -n "$curr" ]; then - echo "$line" + printf "%s\n" "$line" fi done