mirror of https://github.com/mpv-player/mpv
FreeBSD fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8733 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
45fde049dd
commit
2b18af7f40
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue