1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 20:05:07 +00:00

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
This commit is contained in:
corey 2006-08-18 02:23:44 +00:00
parent 6b0da6eb35
commit 9d2c260488

View File

@ -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