summaryrefslogtreecommitdiff
path: root/byteback-receive
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-04-02 09:21:42 +0100
committerSteve Kemp <steve@steve.org.uk>2015-04-02 09:21:42 +0100
commite254303eec822eb7f19ef7e37da0a0d4c5ff9182 (patch)
tree38e29c83a18d6a23a30c952f95933f4cfcbac89b /byteback-receive
parent4a66fec4b42af038c9fffc25396fe6b5fc177e56 (diff)
Use consistant load-path fiddling.
Diffstat (limited to 'byteback-receive')
-rwxr-xr-xbyteback-receive4
1 files changed, 2 insertions, 2 deletions
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
-