1
0
mirror of https://github.com/mpv-player/mpv synced 2025-05-10 12:09:37 +00:00

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

View File

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