summaryrefslogtreecommitdiffstats
path: root/lib/shell/system-command.rb
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-21 12:21:11 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-21 12:21:11 +0000
commitcb04cd4423466f5932718077efdcedf1da41495d (patch)
tree0b33fb720ebfa2967055af4abb5f3bd6c23dd517 /lib/shell/system-command.rb
parent582c53a647ed8531e7ecb231d70722c751e0d347 (diff)
downloadruby-cb04cd4423466f5932718077efdcedf1da41495d.tar.gz
ruby-cb04cd4423466f5932718077efdcedf1da41495d.tar.xz
ruby-cb04cd4423466f5932718077efdcedf1da41495d.zip
* lib/shell/*: bug fix for Shell#system(command_line_string).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell/system-command.rb')
-rw-r--r--lib/shell/system-command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shell/system-command.rb b/lib/shell/system-command.rb
index 6071c1c84..f87ba890e 100644
--- a/lib/shell/system-command.rb
+++ b/lib/shell/system-command.rb
@@ -16,7 +16,7 @@ class Shell
class SystemCommand < Filter
def initialize(sh, command, *opts)
if t = opts.find{|opt| !opt.kind_of?(String) && opt.class}
- Shell.Fail TypeError, t.class, "String"
+ Shell.Fail Error::TypeError, t.class, "String"
end
super(sh)
@command = command