From 9e5ea8c2c52f3d4b48fa01eb56264b323a2c4581 Mon Sep 17 00:00:00 2001 From: luke Date: Mon, 16 Oct 2006 22:01:40 +0000 Subject: Fixing the test scripts so that the library path is modified in ruby instead of in the env line git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1793 980ebf18-57e1-0310-9a29-db15c13687c0 --- test/other/autoload.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/other/autoload.rb') diff --git a/test/other/autoload.rb b/test/other/autoload.rb index d4f79668d..ea69d7f23 100755 --- a/test/other/autoload.rb +++ b/test/other/autoload.rb @@ -1,4 +1,6 @@ -#!/usr/bin/env ruby -I../lib -I../../lib +#!/usr/bin/env ruby + +$:.unshift("../lib").unshift("../../lib") if __FILE__ =~ /\.rb$/ require 'puppet' require 'puppet/autoload' -- cgit