[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #10030 [Tor bundles/installation]: Tor pluggable transport bundle does not work in OS X Mavericks
#10030: Tor pluggable transport bundle does not work in OS X Mavericks
------------------------------------------+------------------------------
Reporter: msfc | Owner:
Type: defect | Status: needs_review
Priority: normal | Milestone:
Component: Tor bundles/installation | Version: Tor: 0.2.4.16-rc
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------------------------+------------------------------
Comment (by dcf):
Replying to [comment:20 dcf]:
> The problem is that Finder in Mavericks sets the current directory to /,
so relative paths to pluggable transport executables don't work. What we
can do is move `tor` to `tor.real` and then create a shell script `tor`
with something like:
> {{{
> #!/bin/sh
> cd $(dirname $0)
> exec ./tor.real $@
> }}}
In [https://gitweb.torproject.org/pluggable-
transports/bundle.git/commitdiff/bd34a2d829c8847b5d5736e0abfed1a8d6a62378
what I actually committed], I added some quoting so that it will work even
when in a directory whose name contains spaces.
{{{
#!/bin/sh
cd "$(dirname "$0")"
exec ./tor.real "$@"
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10030#comment:24>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs