From 5b7864cddc9880a42aecb8d7b1023057d8e3b790 Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 1 Jan 2009 06:43:08 +0000 Subject: merges r21219 from trunk into ruby_1_9_1. * tool/file2lastrev.rb: unset PWD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/file2lastrev.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tool') diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb index 01ac1bbce..37b27b2b8 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 -- cgit