Upgraded rubyzip to 0.5.8
This commit is contained in:
parent
ee876a2907
commit
f776807dff
37 changed files with 1513 additions and 710 deletions
22
vendor/rubyzip-0.5.8/install.rb
vendored
Normal file
22
vendor/rubyzip-0.5.8/install.rb
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
$VERBOSE = true
|
||||
|
||||
require 'rbconfig'
|
||||
require 'find'
|
||||
require 'ftools'
|
||||
|
||||
include Config
|
||||
|
||||
files = %w{ stdrubyext.rb ioextras.rb zip.rb zipfilesystem.rb ziprequire.rb tempfile_bugfixed.rb }
|
||||
|
||||
INSTALL_DIR = File.join(CONFIG["sitelibdir"], "zip")
|
||||
File.makedirs(INSTALL_DIR)
|
||||
|
||||
SOURCE_DIR = File.join(File.dirname($0), "lib/zip")
|
||||
|
||||
files.each {
|
||||
|filename|
|
||||
installPath = File.join(INSTALL_DIR, filename)
|
||||
File::install(File.join(SOURCE_DIR, filename), installPath, 0644, true)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue