From 1320801e044d6f11f45bba70b67159ff664a77e0 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 16 Feb 2009 18:21:45 -0800 Subject: [PATCH] chdir to sigar root --- Rakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rakefile b/Rakefile index fb8d9aa4..0101eef3 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,9 @@ require 'rubygems' require 'rake/gempackagetask' +#so we can: ssh host rake -f $hudson_workspace/sigar/Rakefile +Dir.chdir(File.dirname(__FILE__)) + props = {} File.open("bindings/java/version.properties").each { |line| next if line =~ /^#/