From d888fb2dc0d569be18a7afca6e57ecc9863583fb Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Wed, 25 Sep 2002 19:02:07 +0000 Subject: [PATCH] it works! now, on to the eye candy git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@989 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-web/src/pmd.rb | 2 +- pmd-web/src/processor.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pmd-web/src/pmd.rb b/pmd-web/src/pmd.rb index 5e3efadd5b..7f9945ab05 100644 --- a/pmd-web/src/pmd.rb +++ b/pmd-web/src/pmd.rb @@ -50,7 +50,7 @@ class Job @unixName = unixName @cvsroot = ':pserver:anonymous@cvs.' + unixName + '.sourceforge.net:/cvsroot/' + unixName @moduleDirectory = moduleDirectory - @sourceDirectory = sourceDirectory + @sourceDirectory = sourceDirectory.strip end def checkout_code diff --git a/pmd-web/src/processor.rb b/pmd-web/src/processor.rb index 853e3a69f5..f733c02996 100644 --- a/pmd-web/src/processor.rb +++ b/pmd-web/src/processor.rb @@ -1,5 +1,7 @@ #!/usr/bin/ruby +Dir.chdir("/home/groups/p/pm/pmd/cgi-bin"); + require 'pmd.rb' jobsDir = Dir.new("jobs")