summaryrefslogtreecommitdiffstats
path: root/help
diff options
context:
space:
mode:
authorcorey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-18 02:23:44 +0000
committercorey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-18 02:23:44 +0000
commit9d2c26048848c8e0ad4a201f592fda3c2702cc47 (patch)
tree3b31f02f4676b4d809fda7157e8acc5889ab1265 /help
parent6b0da6eb359a1026bc25bb1fb26f3e210b0d5bc8 (diff)
downloadmpv-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
Diffstat (limited to 'help')
-rwxr-xr-xhelp/help_diff.sh4
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