mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
26 lines
652 B
Plaintext
26 lines
652 B
Plaintext
--- 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
|
|
|