pigoz / mplayerosx-builds

build scripts of mplayer2 for Mac OSX
35 stars 8 forks source link

Make the packager complain when a library referenced by mplayer2 or another library does not exist rather than enter an infinite loop #6

Closed astiob closed 12 years ago

astiob commented 12 years ago

If, say, you build mplayer2 and then upgrade a shared library it uses and brew cleanup, the library file referenced by the mplayer2 binary may disappear. In this case rake pkg:mposxt or whatever just enters an infinite loop (cp, rescue ENOENT, retry), which is not very nice. The attached commit makes it complain aloud instead.

pigoz commented 12 years ago

Thank you for the patch!