Skip to content

Commit

Permalink
Fix #97: rebind.so not found when installed
Browse files Browse the repository at this point in the history
This should fix the upstream Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719889
  • Loading branch information
kanaka committed Sep 27, 2013
1 parent ab389d4 commit f30ad05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion websockify/websocketproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ def __init__(self, *args, **kwargs):
self.wrap_times = [0, 0, 0]

if self.wrap_cmd:
rebinder_path = ['./', os.path.dirname(sys.argv[0])]
wsdir = os.path.dirname(sys.argv[0])
rebinder_path = [os.path.join(wsdir, "..", "lib"),
os.path.join(wsdir, "..", "lib", "websockify"),
wsdir]
self.rebinder = None

for rdir in rebinder_path:
Expand Down

0 comments on commit f30ad05

Please sign in to comment.