[MPlayer-cvslog] r19435 - trunk/help/help_diff.sh
corey
subversion at mplayerhq.hu
Fri Aug 18 04:23:44 CEST 2006
Author: corey
Date: Fri Aug 18 04:23:44 2006
New Revision: 19435
Modified:
trunk/help/help_diff.sh
Log:
replace echo with printf; fixes compilation when shell is dash and
language is not English
Modified: trunk/help/help_diff.sh
==============================================================================
--- trunk/help/help_diff.sh (original)
+++ trunk/help/help_diff.sh Fri Aug 18 04:23:44 2006
@@ -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
More information about the MPlayer-cvslog
mailing list