On Wed, May 23, 2007 at 01:14:12PM +0200, Jukka Salmi wrote:
>
> I'm able to reproduce this problem with a bourne shell on some BSD
> systems; it seems to be a bug in the test(1) code. Maybe you were
> bitten by the same bug.
>
> To make dmenu_path more robust against such problems I'd recommend the
> attached patch. Furthermore it speeds up execution time a little bit
> in case the cache has to be rebuilt because of a changed directory
> (unless it the last directory in the $PATH).
Thanks! I applied it to the repo, however I'm not totally sure
the use of [ is a good idea. Is [ a symlink to test in any Unix?
Regards,
-- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361Received on Wed May 23 2007 - 13:23:43 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:42:22 UTC