chdir to sigar root

This commit is contained in:
Doug MacEachern 2009-02-16 18:21:45 -08:00
parent aa605fcde1
commit 1320801e04
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
require 'rubygems' require 'rubygems'
require 'rake/gempackagetask' require 'rake/gempackagetask'
#so we can: ssh host rake -f $hudson_workspace/sigar/Rakefile
Dir.chdir(File.dirname(__FILE__))
props = {} props = {}
File.open("bindings/java/version.properties").each { |line| File.open("bindings/java/version.properties").each { |line|
next if line =~ /^#/ next if line =~ /^#/