Subject: | -z `which readlink` doesn't work |
Date: | Thu, 15 Oct 2009 17:50:24 -0400 (EDT) |
To: | bug-Shipwright [...] rt.cpan.org |
From: | Andy Cobaugh <phalenor [...] bx.psu.edu> |
When testing for readlink, testing with -z `which readlink` will never
return true, as which will return something like "which: no foo in $PATH"
or "no foo in $PATH" if you're on solaris.
Not sure what the best way to test for the lack of readlink is, though.
Right now I'm just testing for what platform I'm on, and adding
/opt/sfw/bin to the PATH to get readlink.
--andy