Sha256: ac9656bf75f879920328340ca5b23559e359501ffd42f55e8acb8c239f971938

Contents?: true

Size: 526 Bytes

Versions: 1

Compression:

Stored size: 526 Bytes

Contents

#!/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, :mode => 0644, :verbose => true)
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mksm-rubyzip-0.9.3 install.rb