[tor-qa] Please test bundles with slightly rearchitected meek-http-helper

David Fifield david at bamsoftware.com
Wed Mar 18 21:12:50 UTC 2015


On Sat, Mar 14, 2015 at 10:04:58AM +0100, Ximin Luo wrote:
> On 14/03/15 03:02, Mark Smith wrote:
> > On 3/13/15 8:48 PM, Ximin Luo wrote:
> >> Ah, I thought realpath was a standard thing. Does "readlink -f" work instead?
> > 
> > No, the Mac OS / BSD readlink seems to be quite different than the Linux one.  See:
> > 
> > https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/readlink.1.html
> > 
> > Also, some possibly useful ideas can be found here:
> > 
> > http://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac
> 
> Ah ok, instead of "$(realpath "../Data/Browser/profile.meek-http-helper")"
> 
> could you please try "$(dirname "$(pwd -P)")/Data/Browser/profile.meek-http-helper"

I tested this on Mac and it works:
	"$PWD/../Data/Browser/profile.meek-http-helper"
This also works:
	"$(pwd)/../Data/Browser/profile.meek-http-helper"
This also works:
	"$(dirname "$(pwd -P)")/Data/Browser/profile.meek-http-helper"

I think I'll go with the first one, because it's the shortest.

David


More information about the tor-qa mailing list