head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2011.07.03.17.24.40;	author swills;	state Exp;
branches;
next	;


desc
@@


1.1
log
@- Fix build with Ruby 1.9
@
text
@--- install.rb.orig	2003-08-13 11:18:29.000000000 -0400
+++ install.rb	2011-07-03 13:07:28.883509392 -0400
@@@@ -1,6 +1,6 @@@@
 require 'rbconfig'
 require 'find'
-require 'ftools'
+require 'fileutils'
 
 include Config
 
@@@@ -30,12 +30,12 @@@@
   for f in dir
     next if f == "."
     next if f == "CVS"
-    File::makedirs(File.join(destdir, f))
+    FileUtils.mkdir_p(File.join(destdir, f))
   end
   for f in path
     next if (/\~$/ =~ f)
     next if (/^\./ =~ File.basename(f))
-    File::install(File.join("lib", f), File.join(destdir, f), 0644, true)
+    FileUtils::install(File.join("lib", f), File.join(destdir, f), :mode => 0644)
   end
 end
 
@
