summaryrefslogtreecommitdiff
path: root/scripts/context/ruby/wwwwatch.rb
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2006-05-16 18:35:00 +0200
committerHans Hagen <pragma@wxs.nl>2006-05-16 18:35:00 +0200
commit97c003887ee2b36079c07c7dab9414a266056b47 (patch)
treec0fa4e6fc829a19e2463bac69c86aee1239596b9 /scripts/context/ruby/wwwwatch.rb
parent6edea41ff329ce2d76f34a59e90fa5d80d0eaee2 (diff)
downloadcontext-97c003887ee2b36079c07c7dab9414a266056b47.tar.gz
stable 2006.05.16 18:35
Diffstat (limited to 'scripts/context/ruby/wwwwatch.rb')
-rw-r--r--scripts/context/ruby/wwwwatch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/ruby/wwwwatch.rb b/scripts/context/ruby/wwwwatch.rb
index 1f61ef479..e5f0c0654 100644
--- a/scripts/context/ruby/wwwwatch.rb
+++ b/scripts/context/ruby/wwwwatch.rb
@@ -74,7 +74,7 @@ class Watch < Monitor
@files = Array.new
@stats = Hash.new
@skips = Hash.new
- @root_path = File.expand_path(File.join(File.dirname($0),'..')) if @root_path.empty?
+ @root_path = File.expand_path(File.join(File.dirname($0),'.')) if @root_path.empty?
@work_path = File.expand_path(File.join(@root_path,'work','watch')) if @work_path.empty?
@cache_path = File.expand_path(File.join(@root_path,'work','cache')) if @work_path.empty?
begin File.makedirs(@work_path) ; rescue ; end