summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 1cca55d919..72cca6c18c 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -282,7 +282,6 @@ end
def without_destdir(dir)
return dir if !$destdir or $destdir.empty?
- dir = dir.sub(/\A\w:/, '') if File::PATH_SEPARATOR == ';'
dir.start_with?($destdir) ? dir[$destdir.size..-1] : dir
end