2002-03-22 05:12:19 +08:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
|
|
|
|
$VERBOSE = true
|
|
|
|
|
|
|
|
require 'rbconfig'
|
|
|
|
require 'find'
|
|
|
|
require 'ftools'
|
|
|
|
|
|
|
|
include Config
|
|
|
|
|
2003-08-18 00:28:18 +08:00
|
|
|
files = %w{ zip.rb zipfilesystem.rb stdrubyext.rb ziprequire.rb }
|
2002-03-22 05:12:19 +08:00
|
|
|
|
|
|
|
files.each {
|
|
|
|
|filename|
|
|
|
|
installPath = File.join(CONFIG["sitelibdir"], filename)
|
|
|
|
File::install(filename, installPath, 0644, true)
|
|
|
|
}
|