Upgrade Vendored rubyzip to Version 0.9.3
This commit is contained in:
parent
7c51accaab
commit
1d32d45944
34 changed files with 247 additions and 36 deletions
23
vendor/plugins/rubyzip/install.rb
vendored
Executable file
23
vendor/plugins/rubyzip/install.rb
vendored
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
$VERBOSE = true
|
||||
|
||||
require 'rbconfig'
|
||||
require 'find'
|
||||
require 'fileutils'
|
||||
|
||||
include Config
|
||||
|
||||
files = %w{ stdrubyext.rb ioextras.rb zip.rb zipfilesystem.rb ziprequire.rb tempfile_bugfixed.rb }
|
||||
|
||||
INSTALL_DIR = File.join(CONFIG["sitelibdir"], "zip")
|
||||
FileUtils.makedirs(INSTALL_DIR)
|
||||
|
||||
SOURCE_DIR = File.join(File.dirname($0), "lib/zip")
|
||||
|
||||
files.each {
|
||||
|filename|
|
||||
installPath = File.join(INSTALL_DIR, filename)
|
||||
FileUtils::install(File.join(SOURCE_DIR, filename), installPath, 0644,
|
||||
:verbose => true)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue