diff options
author | Hans Hagen <pragma@wxs.nl> | 2006-05-16 18:35:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2006-05-16 18:35:00 +0200 |
commit | 97c003887ee2b36079c07c7dab9414a266056b47 (patch) | |
tree | c0fa4e6fc829a19e2463bac69c86aee1239596b9 /scripts/context/ruby/wwwwatch.rb | |
parent | 6edea41ff329ce2d76f34a59e90fa5d80d0eaee2 (diff) | |
download | context-97c003887ee2b36079c07c7dab9414a266056b47.tar.gz |
stable 2006.05.16 18:35
Diffstat (limited to 'scripts/context/ruby/wwwwatch.rb')
-rw-r--r-- | scripts/context/ruby/wwwwatch.rb | 2 |
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 |