From e3f6825fc893efa0e6481ebfd9a63d0f00c77557 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 5 Aug 2018 17:46:17 +0200 Subject: bin/sson: make relocatable --- bin/sson | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1