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.
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 caserake 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.