diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-31 21:56:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-31 21:56:38 +0000 |
commit | 79ccc677e779b360e21ba683a1c4f93939aa7c7d (patch) | |
tree | 3557689a2fa1049c67c60d3025fc88d5b8d44b59 /tool/file2lastrev.rb | |
parent | aa3665e7826b6e27c43e067f0f8fb6794392319c (diff) | |
download | ruby-79ccc677e779b360e21ba683a1c4f93939aa7c7d.tar.gz |
* tool/file2lastrev.rb: unset PWD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/file2lastrev.rb')
-rw-r--r-- | tool/file2lastrev.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb index 01ac1bbced..37b27b2b88 100644 --- a/tool/file2lastrev.rb +++ b/tool/file2lastrev.rb @@ -1,5 +1,8 @@ #!/usr/bin/env ruby +ENV['LANG'] = ENV['LC_ALL'] = ENV['LC_MESSAGES'] = 'C' +ENV.delete('PWD') + require 'optparse' require 'pathname' @@ -14,7 +17,6 @@ def detect_vcs(path) end def get_revisions(path) - ENV['LANG'] = ENV['LC_ALL'] = ENV['LC_MESSAGES'] = 'C' vcs, path = detect_vcs(path) info = case vcs |