Mercurial > mplayer.hg
view darwinfixlib.sh @ 10550:7860a71ba82c
For a request by Gabu, i've cut & fix a part of Joey's dvd aid switching
patch, to always use the first audio track of DVD, unless -alang or -aid is
used. I think it will be almost always teh id 128. (actual number comes from
the .IFO)
(reported ok - Gabu)
author | gabucino |
---|---|
date | Sat, 09 Aug 2003 14:23:16 +0000 |
parents | 184f37880f90 |
children |
line wrap: on
line source
#!/bin/sh if [ `uname -s` = 'Darwin' ]; then echo "Fixing libs with ranlib for Darwin (MacOSX)" for i in $* ; do if (echo $i | grep \\.a) >/dev/null 2>&1; then echo "ranlib $i" (ranlib $i) >/dev/null 2>&1 fi done fi exit 0