diff options
author | corey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-18 02:23:44 +0000 |
---|---|---|
committer | corey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-18 02:23:44 +0000 |
commit | 9d2c26048848c8e0ad4a201f592fda3c2702cc47 (patch) | |
tree | 3b31f02f4676b4d809fda7157e8acc5889ab1265 | |
parent | 6b0da6eb359a1026bc25bb1fb26f3e210b0d5bc8 (diff) | |
download | mpv-9d2c26048848c8e0ad4a201f592fda3c2702cc47.tar.bz2 mpv-9d2c26048848c8e0ad4a201f592fda3c2702cc47.tar.xz |
replace echo with printf; fixes compilation when shell is dash and
language is not English
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19435 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | help/help_diff.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/help/help_diff.sh b/help/help_diff.sh index 214d402bb1..2e12951a15 100755 --- a/help/help_diff.sh +++ b/help/help_diff.sh @@ -10,7 +10,7 @@ curr="" 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 @@ while read -r line; do fi if [ -n "$curr" ]; then - echo "$line" + printf "%s\n" "$line" fi done |