aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/webrick.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/webrick.rb')
-rw-r--r--lib/sisu/v3/webrick.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sisu/v3/webrick.rb b/lib/sisu/v3/webrick.rb
index 55157c4f..9d827c17 100644
--- a/lib/sisu/v3/webrick.rb
+++ b/lib/sisu/v3/webrick.rb
@@ -83,8 +83,6 @@ begin #
require 'webrick'
include WEBrick
require 'time'
- require 'fileutils'
- include FileUtils
require_relative 'sysenv' # sysenv.rb
include SiSU_Env; include SiSU_Screen
@cX=SiSU_Screen::Ansi.new('yes').cX
@@ -163,7 +161,7 @@ WOK
filename << wb_s2
filename << wb_end
filename.close
- chmod(0755,"#{y}/wb.cgi &") if FileTest.file?("#{y}/wb.cgi &")
+ FileUtils::chmod(0755,"#{y}/wb.cgi &") if FileTest.file?("#{y}/wb.cgi &")
}
puts " #{@cX.off}"
get=@argv.shift if @argv[0] =~/pwd/ #% argv