Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #120 from rku/libpath-follow-symlinks

Fix: Resolve symlinks when constructing lib path.
  • Loading branch information...
commit 5801d2d96b4bce37407b565e66890e00caece6ac 2 parents 4bbbc90 + dffdb95
@scrapper scrapper authored
View
2  bin/tj3
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
View
2  bin/tj3client
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
View
2  bin/tj3d
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
View
2  bin/tj3man
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
View
2  bin/tj3ss_receiver
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
View
2  bin/tj3ss_sender
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
View
2  bin/tj3ts_receiver
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
View
2  bin/tj3ts_sender
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
View
2  bin/tj3ts_summary
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
View
2  bin/tj3webd
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
+$:.unshift File.join(File.dirname(File.realpath(__FILE__)), '..', 'lib')
require File.basename(__FILE__)
Please sign in to comment.
Something went wrong with that request. Please try again.