FreeBSD fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8733 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nexus 2003-01-03 12:14:34 +00:00
parent 45fde049dd
commit 2b18af7f40
1 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@
curr=""
while read -r line; do
if echo -E "$line" | grep -q '^#define'; then
curr=`echo -E "$line" | cut -d ' ' -f 2`
if echo "$line" | grep -q '^#define'; then
curr=`echo "$line" | cut -d ' ' -f 2`
if grep -q "^#define $curr " $1; then
curr=""
fi
@ -21,7 +21,7 @@ while read -r line; do
fi
if [ -n "$curr" ]; then
echo -E "$line"
echo "$line"
fi
done