summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-02-10 08:53:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-02-10 08:53:38 +0000
commit00080ffcbb05cf23bce8e31f0538567f5b780f89 (patch)
tree0fe72d4b2a3c45095cbcf8d2a39c6e92e1a64b9f /sample
parent3ab072c0dc748031816ebfbdccdc10fa4212a9db (diff)
1.1b7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@71 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/from.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/sample/from.rb b/sample/from.rb
index 39aa4b7553..ce69108529 100644
--- a/sample/from.rb
+++ b/sample/from.rb
@@ -36,6 +36,7 @@ else
ARGV.clear
end
+file = ARGV[0]
[ENV['SPOOLDIR'], '/usr/spool', '/var/spool', '/usr', '/var'].each do |m|
break if File.exist? file = "#{m}/mail/#{user}"
end