From e254303eec822eb7f19ef7e37da0a0d4c5ff9182 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 2 Apr 2015 09:21:42 +0100 Subject: Use consistant load-path fiddling. --- byteback-receive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'byteback-receive') diff --git a/byteback-receive b/byteback-receive index 2c85005..54163d6 100755 --- a/byteback-receive +++ b/byteback-receive @@ -5,7 +5,8 @@ #STDERR.print ARGV.inspect + "\n" -$LOAD_PATH << '/usr/lib/byteback' +$LOAD_PATH.unshift("/usr/lib/byteback") + require 'trollop' require 'byteback' include Byteback::Log @@ -49,4 +50,3 @@ else STDERR.print "byteback-receive failed\n" exit 9 end - -- cgit v1.2.3