summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-08-05 17:46:17 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-08-05 17:46:17 +0200
commite3f6825fc893efa0e6481ebfd9a63d0f00c77557 (patch)
treef525f6fa565e661413b5ad8e253d344006f35649
parent61efcde6f2eb0d0f32abb3f2befe07907f023b5c (diff)
downloadsson-e3f6825fc893efa0e6481ebfd9a63d0f00c77557.tar.gz
sson-e3f6825fc893efa0e6481ebfd9a63d0f00c77557.tar.xz
sson-e3f6825fc893efa0e6481ebfd9a63d0f00c77557.zip
bin/sson: make relocatable HEAD master
-rwxr-xr-xbin/sson3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sson b/bin/sson
index e24cd48..2a0f46c 100755
--- a/bin/sson
+++ b/bin/sson
@@ -1,6 +1,7 @@
 #!/usr/bin/env ruby
 
-$: << "../lib"
+$: << File.dirname(File.realpath(__FILE__)) + "/../lib"
+
 require 'sson'
 
 raw = false