2008-08-12 06:11:11 -04:00
|
|
|
#!/usr/bin/ruby -s
|
2008-11-06 11:24:32 -05:00
|
|
|
# -*- coding: us-ascii -*-
|
2008-06-21 02:31:18 -04:00
|
|
|
require 'uri'
|
|
|
|
require 'digest/md5'
|
|
|
|
require 'digest/sha2'
|
|
|
|
require 'fileutils'
|
|
|
|
require 'tmpdir'
|
|
|
|
STDOUT.sync = true
|
2007-12-22 01:14:50 -05:00
|
|
|
|
2008-09-26 05:40:04 -04:00
|
|
|
$exported = nil if $exported == ""
|
|
|
|
$archname = nil if $archname == ""
|
2010-08-19 09:45:02 -04:00
|
|
|
$keep_temp ||= nil
|
|
|
|
$patch_file ||= nil
|
2013-06-14 00:01:54 -04:00
|
|
|
$tooldir = File.expand_path("..", __FILE__)
|
2010-08-19 09:45:02 -04:00
|
|
|
|
|
|
|
def usage
|
|
|
|
<<USAGE
|
|
|
|
usage: #{File.basename $0} [option...] new-directory-to-save [version ...]
|
2010-08-19 09:50:43 -04:00
|
|
|
options:
|
2010-08-19 09:45:02 -04:00
|
|
|
-exported=PATH make snapshot from already exported working directory
|
|
|
|
-archname=NAME make the basename of snapshots NAME
|
|
|
|
-keep_temp keep temporary working directory
|
|
|
|
-patch_file=PATCH apply PATCH file after export
|
2014-05-13 11:47:33 -04:00
|
|
|
-packages=PKG[,...] make PKG packages (#{PACKAGES.keys.join(", ")})
|
2014-05-13 11:47:36 -04:00
|
|
|
-digests=ALG[,...] show ALG digests (#{DIGESTS.join(", ")})
|
2010-08-19 09:50:43 -04:00
|
|
|
version:
|
2014-09-03 02:05:01 -04:00
|
|
|
trunk, stable, branches/*, tags/*, X.Y, X.Y.Z, X.Y.Z-pL
|
2010-08-19 09:50:43 -04:00
|
|
|
each versions may be followed by optional @revision.
|
2010-08-19 09:45:02 -04:00
|
|
|
USAGE
|
|
|
|
end
|
2008-09-26 05:40:04 -04:00
|
|
|
|
2014-05-13 06:09:43 -04:00
|
|
|
DIGESTS = %w[MD5 SHA256 SHA512]
|
2014-05-13 06:09:41 -04:00
|
|
|
PACKAGES = {
|
|
|
|
"bzip" => %w".tar.bz2 bzip2 -c",
|
|
|
|
"gzip" => %w".tar.gz gzip -c",
|
|
|
|
"xz" => %w".tar.xz xz -c",
|
|
|
|
"zip" => %w".zip zip -qr",
|
|
|
|
}
|
|
|
|
|
2008-06-21 02:31:18 -04:00
|
|
|
ENV["LC_ALL"] = ENV["LANG"] = "C"
|
|
|
|
SVNURL = URI.parse("http://svn.ruby-lang.org/repos/ruby/")
|
|
|
|
RUBY_VERSION_PATTERN = /^\#define\s+RUBY_VERSION\s+"([\d.]+)"/
|
2008-06-19 08:35:35 -04:00
|
|
|
|
2008-06-21 02:31:18 -04:00
|
|
|
ENV["VPATH"] ||= "include/ruby"
|
|
|
|
YACC = ENV["YACC"] ||= "bison"
|
|
|
|
ENV["BASERUBY"] ||= "ruby"
|
|
|
|
ENV["RUBY"] ||= "ruby"
|
|
|
|
ENV["MV"] ||= "mv"
|
2009-01-16 04:42:33 -05:00
|
|
|
ENV["RM"] ||= "rm -f"
|
2008-06-21 02:31:18 -04:00
|
|
|
ENV["MINIRUBY"] ||= "ruby"
|
2009-01-16 04:42:33 -05:00
|
|
|
ENV["PROGRAM"] ||= "ruby"
|
2013-05-26 11:51:13 -04:00
|
|
|
ENV["AUTOCONF"] ||= "autoconf"
|
2007-12-22 01:14:50 -05:00
|
|
|
|
2008-10-28 03:13:39 -04:00
|
|
|
class String
|
|
|
|
# for older ruby
|
|
|
|
alias bytesize size unless method_defined?(:bytesize)
|
|
|
|
end
|
|
|
|
|
2010-03-24 15:38:22 -04:00
|
|
|
class Dir
|
|
|
|
def self.mktmpdir(path)
|
|
|
|
path = File.join(tmpdir, path+"-#{$$}-#{rand(100000)}")
|
|
|
|
begin
|
|
|
|
mkdir(path)
|
|
|
|
rescue Errno::EEXIST
|
|
|
|
path.succ!
|
|
|
|
retry
|
|
|
|
end
|
|
|
|
path
|
|
|
|
end unless respond_to?(:mktmpdir)
|
|
|
|
end
|
|
|
|
|
2014-05-13 11:47:33 -04:00
|
|
|
$packages &&= $packages.split(/[, ]+/).tap {|pkg|
|
|
|
|
pkg -= PACKAGES.keys
|
|
|
|
pkg.empty? or abort "#{File.basename $0}: unknown packages - #{pkg.join(", ")}"
|
|
|
|
}
|
|
|
|
$packages ||= PACKAGES.keys
|
|
|
|
|
2014-05-13 11:47:36 -04:00
|
|
|
$digests &&= $digests.split(/[, ]+/).tap {|dig|
|
|
|
|
dig -= DIGESTS
|
|
|
|
dig.empty? or abort "#{File.basename $0}: unknown digests - #{dig.join(", ")}"
|
|
|
|
}
|
|
|
|
$digests ||= DIGESTS
|
|
|
|
|
2008-08-12 06:11:11 -04:00
|
|
|
$patch_file &&= File.expand_path($patch_file)
|
2008-06-21 02:31:18 -04:00
|
|
|
path = ENV["PATH"].split(File::PATH_SEPARATOR)
|
|
|
|
%w[YACC BASERUBY RUBY MV MINIRUBY].each do |var|
|
|
|
|
cmd = ENV[var]
|
|
|
|
unless path.any? {|dir|
|
2008-09-26 05:40:04 -04:00
|
|
|
file = File.expand_path(cmd, dir)
|
2008-06-21 02:31:18 -04:00
|
|
|
File.file?(file) and File.executable?(file)
|
|
|
|
}
|
|
|
|
abort "#{File.basename $0}: #{var} command not found - #{cmd}"
|
|
|
|
end
|
|
|
|
end
|
2007-12-22 01:14:50 -05:00
|
|
|
|
2012-12-11 11:18:01 -05:00
|
|
|
%w[BASERUBY RUBY MINIRUBY].each do |var|
|
|
|
|
`#{ENV[var]} --disable-gem -e1 2>&1`
|
|
|
|
if $?.success?
|
|
|
|
ENV[var] += ' --disable-gem'
|
|
|
|
end
|
2012-12-11 01:13:43 -05:00
|
|
|
end
|
|
|
|
|
2010-08-19 09:45:02 -04:00
|
|
|
if $help or $_help
|
|
|
|
puts usage
|
|
|
|
exit
|
|
|
|
end
|
2008-06-21 02:31:18 -04:00
|
|
|
unless destdir = ARGV.shift
|
2010-08-19 09:45:02 -04:00
|
|
|
abort usage
|
2008-06-21 02:31:18 -04:00
|
|
|
end
|
|
|
|
revisions = ARGV.empty? ? ["trunk"] : ARGV
|
2008-08-12 06:11:11 -04:00
|
|
|
unless tmp = $exported
|
|
|
|
FileUtils.mkpath(destdir)
|
|
|
|
destdir = File.expand_path(destdir)
|
|
|
|
tmp = Dir.mktmpdir("ruby-snapshot")
|
|
|
|
FileUtils.mkpath(tmp)
|
|
|
|
at_exit {
|
|
|
|
Dir.chdir "/"
|
|
|
|
FileUtils.rm_rf(tmp)
|
|
|
|
} unless $keep_temp
|
|
|
|
end
|
2008-06-21 02:31:18 -04:00
|
|
|
Dir.chdir tmp
|
2008-06-19 08:35:35 -04:00
|
|
|
|
2008-06-21 02:31:18 -04:00
|
|
|
def package(rev, destdir)
|
|
|
|
patchlevel = false
|
2013-12-20 15:46:21 -05:00
|
|
|
prerelease = false
|
2010-08-19 09:34:40 -04:00
|
|
|
if revision = rev[/@(\d+)\z/, 1]
|
|
|
|
rev = $`
|
|
|
|
end
|
2008-06-21 02:31:18 -04:00
|
|
|
case rev
|
|
|
|
when /\Atrunk\z/, /\Abranches\//, /\Atags\//
|
|
|
|
url = SVNURL + rev
|
|
|
|
when /\Astable\z/
|
|
|
|
url = SVNURL + "branches/"
|
|
|
|
url = url + `svn ls #{url}`[/.*^(ruby_\d+_\d+)\//m, 1]
|
2012-11-01 14:22:31 -04:00
|
|
|
when /\A(.*)\.(.*)\.(.*)-(preview|rc)(\d+)/
|
2013-12-20 15:46:21 -05:00
|
|
|
prerelease = true
|
2008-08-25 13:47:57 -04:00
|
|
|
tag = "#{$4}#{$5}"
|
2012-11-01 14:22:31 -04:00
|
|
|
url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}_#{$4}#{$5}"
|
|
|
|
when /\A(.*)\.(.*)\.(.*)-p(\d+)/
|
|
|
|
patchlevel = true
|
|
|
|
tag = "p#{$4}"
|
|
|
|
url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}_#{$4}"
|
2014-09-03 01:47:31 -04:00
|
|
|
when /\A(\d+)\.(\d+)(?:\.(\d+))?\z/
|
|
|
|
if $3 && ($1 > "2" || $1 == "2" && $2 >= "1")
|
2013-12-25 10:46:02 -05:00
|
|
|
patchlevel = true
|
|
|
|
tag = ""
|
|
|
|
url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}"
|
|
|
|
else
|
|
|
|
url = SVNURL + "branches/ruby_#{rev.tr('.', '_')}"
|
|
|
|
end
|
2008-06-21 02:31:18 -04:00
|
|
|
else
|
|
|
|
warn "#{$0}: unknown version - #{rev}"
|
|
|
|
return
|
|
|
|
end
|
2010-08-19 09:34:40 -04:00
|
|
|
revision ||= `svn info #{url} 2>&1`[/Last Changed Rev: (\d+)/, 1]
|
2008-06-21 02:31:18 -04:00
|
|
|
version = nil
|
|
|
|
unless revision
|
|
|
|
url = SVNURL + "trunk"
|
|
|
|
version = `svn cat #{url + "version.h"}`[RUBY_VERSION_PATTERN, 1]
|
|
|
|
unless rev == version
|
|
|
|
warn "#{$0}: #{rev} not found"
|
|
|
|
return
|
|
|
|
end
|
|
|
|
revision = `svn info #{url}`[/Last Changed Rev: (\d+)/, 1]
|
|
|
|
end
|
2008-09-26 05:40:04 -04:00
|
|
|
v = nil
|
|
|
|
if $exported
|
|
|
|
if String === $exported
|
|
|
|
v = $exported
|
|
|
|
end
|
|
|
|
else
|
|
|
|
v = "ruby"
|
2008-08-12 06:11:11 -04:00
|
|
|
puts "Exporting #{rev}@#{revision}"
|
2014-10-24 04:16:52 -04:00
|
|
|
IO.popen(%W"svn export -r #{revision} #{url} #{v}") do |pipe|
|
2008-08-12 06:11:11 -04:00
|
|
|
pipe.each {|line| /^A/ =~ line or print line}
|
|
|
|
end
|
|
|
|
unless $?.success?
|
|
|
|
warn("Export failed")
|
|
|
|
return
|
|
|
|
end
|
2008-06-21 02:31:18 -04:00
|
|
|
end
|
2008-08-12 06:11:11 -04:00
|
|
|
|
2008-09-26 05:40:04 -04:00
|
|
|
if !File.directory?(v)
|
2008-08-12 21:45:35 -04:00
|
|
|
v = Dir.glob("ruby-*").select(&File.method(:directory?))
|
|
|
|
v.size == 1 or abort "not exported"
|
|
|
|
v = v[0]
|
|
|
|
end
|
2008-08-12 06:11:11 -04:00
|
|
|
open("#{v}/revision.h", "wb") {|f| f.puts "#define RUBY_REVISION #{revision}"}
|
2009-03-17 08:42:56 -04:00
|
|
|
open("#{v}/.revision.time", "wb") {}
|
2008-08-12 06:11:11 -04:00
|
|
|
version ||= (versionhdr = IO.read("#{v}/version.h"))[RUBY_VERSION_PATTERN, 1]
|
2008-06-21 02:31:18 -04:00
|
|
|
version or return
|
|
|
|
if patchlevel
|
2013-12-25 10:46:02 -05:00
|
|
|
unless tag.empty?
|
|
|
|
versionhdr ||= IO.read("#{v}/version.h")
|
|
|
|
patchlevel = versionhdr[/^\#define\s+RUBY_PATCHLEVEL\s+(\d+)/, 1]
|
|
|
|
tag = (patchlevel ? "p#{patchlevel}" : "r#{revision}")
|
|
|
|
end
|
2013-12-20 15:46:21 -05:00
|
|
|
elsif prerelease
|
|
|
|
versionhdr ||= IO.read("#{v}/version.h")
|
|
|
|
versionhdr.sub!(/^\#define\s+RUBY_PATCHLEVEL_STR\s+"\K.+?(?=")/, tag)
|
|
|
|
IO.write("#{v}/version.h", versionhdr)
|
2008-06-21 02:31:18 -04:00
|
|
|
else
|
2008-08-25 13:47:57 -04:00
|
|
|
tag ||= "r#{revision}"
|
2008-06-21 02:31:18 -04:00
|
|
|
end
|
2008-09-26 05:40:04 -04:00
|
|
|
unless v == $exported
|
2014-06-25 20:46:30 -04:00
|
|
|
if $archname
|
|
|
|
n = $archname
|
|
|
|
elsif tag.empty?
|
2013-12-25 10:46:02 -05:00
|
|
|
n = "ruby-#{version}"
|
|
|
|
else
|
|
|
|
n = "ruby-#{version}-#{tag}"
|
|
|
|
end
|
2008-09-26 05:40:04 -04:00
|
|
|
File.directory?(n) or File.rename v, n
|
|
|
|
v = n
|
|
|
|
end
|
2014-10-24 04:16:52 -04:00
|
|
|
system(*%W"patch -d #{v} -p0 -i #{$patch_file}") if $patch_file
|
2010-03-24 15:42:24 -04:00
|
|
|
"take a breath, and go ahead".scan(/./) {|c|print c; sleep(c == "," ? 0.7 : 0.05)}; puts
|
2008-08-13 00:09:15 -04:00
|
|
|
def (clean = []).add(n) push(n); n end
|
2008-06-21 02:31:18 -04:00
|
|
|
Dir.chdir(v) do
|
2012-03-26 23:11:48 -04:00
|
|
|
File.open(clean.add("cross.rb"), "w") do |f|
|
|
|
|
f.puts "Object.__send__(:remove_const, :CROSS_COMPILING) if defined?(CROSS_COMPILING)"
|
|
|
|
f.puts "CROSS_COMPILING=true"
|
|
|
|
end
|
2008-08-12 06:11:11 -04:00
|
|
|
unless File.exist?("configure")
|
|
|
|
print "creating configure..."
|
2014-10-24 04:16:52 -04:00
|
|
|
unless system([ENV["AUTOCONF"]]*2)
|
2008-08-12 06:11:11 -04:00
|
|
|
puts " failed"
|
|
|
|
return
|
|
|
|
end
|
|
|
|
puts " done"
|
2008-06-21 02:31:18 -04:00
|
|
|
end
|
2008-08-13 00:09:15 -04:00
|
|
|
clean.add("autom4te.cache")
|
2008-06-21 02:31:18 -04:00
|
|
|
print "creating prerequisites..."
|
|
|
|
if File.file?("common.mk") && /^prereq/ =~ commonmk = IO.read("common.mk")
|
2008-08-12 06:11:11 -04:00
|
|
|
puts
|
2008-08-13 00:09:15 -04:00
|
|
|
extout = clean.add('tmp')
|
|
|
|
File.open(clean.add("config.status"), "w") {|f|
|
2008-08-12 06:11:11 -04:00
|
|
|
f.puts "s,@configure_args@,|#_!!_#|,g"
|
2008-08-13 00:09:15 -04:00
|
|
|
f.puts "s,@EXTOUT@,|#_!!_#|#{extout},g"
|
2008-08-12 06:11:11 -04:00
|
|
|
f.puts "s,@bindir@,|#_!!_#|,g"
|
|
|
|
f.puts "s,@ruby_install_name@,|#_!!_#|,g"
|
|
|
|
f.puts "s,@ARCH_FLAG@,|#_!!_#|,g"
|
|
|
|
f.puts "s,@CFLAGS@,|#_!!_#|,g"
|
|
|
|
f.puts "s,@CPPFLAGS@,|#_!!_#|,g"
|
2013-12-30 02:14:43 -05:00
|
|
|
f.puts "s,@CXXFLAGS@,|#_!!_#|,g"
|
2008-08-12 06:11:11 -04:00
|
|
|
f.puts "s,@LDFLAGS@,|#_!!_#|,g"
|
|
|
|
f.puts "s,@DLDFLAGS@,|#_!!_#|,g"
|
|
|
|
f.puts "s,@LIBEXT@,|#_!!_#|a,g"
|
|
|
|
f.puts "s,@OBJEXT@,|#_!!_#|o,g"
|
2012-03-26 23:11:51 -04:00
|
|
|
f.puts "s,@EXEEXT@,|#_!!_#|,g"
|
2013-02-07 21:09:32 -05:00
|
|
|
f.puts "s,@LIBRUBY@,|#_!!_#|libruby.a,g"
|
|
|
|
f.puts "s,@LIBRUBY_A@,|#_!!_#|libruby.a,g"
|
2008-12-06 04:33:20 -05:00
|
|
|
f.puts "s,@RM@,|#_!!_#|rm -f,g"
|
|
|
|
f.puts "s,@CP@,|#_!!_#|cp,g"
|
2013-02-07 21:09:27 -05:00
|
|
|
f.puts "s,@rubyarchdir@,|#_!!_#|,g"
|
2008-08-12 06:11:11 -04:00
|
|
|
}
|
2008-08-13 00:09:15 -04:00
|
|
|
FileUtils.mkpath(hdrdir = "#{extout}/include/ruby")
|
|
|
|
File.open("#{hdrdir}/config.h", "w") {}
|
2014-10-24 04:16:52 -04:00
|
|
|
miniruby = ENV['MINIRUBY'] + " -I. -rcross"
|
2014-10-20 23:33:18 -04:00
|
|
|
mk = IO.read("Makefile.in").gsub(/^@.*\n/, '').gsub(/@([A-Za-z_]\w*)@/) {ENV[$1]}
|
2014-10-24 04:16:52 -04:00
|
|
|
mk << commonmk.gsub(/(?<!#)\{[^{}]*\}/, "")
|
|
|
|
cmd = %W[make -f -
|
|
|
|
srcdir=. CHDIR=cd NULLCMD=:
|
|
|
|
PATH_SEPARATOR=#{File::PATH_SEPARATOR}
|
|
|
|
IFCHANGE=tool/ifchange MAKEDIRS=mkdir\ -p
|
|
|
|
MINIRUBY=#{miniruby}
|
|
|
|
RUNRUBY=#{miniruby}
|
|
|
|
RUBY=#{ENV["RUBY"]}
|
|
|
|
prereq]
|
|
|
|
IO.popen(cmd, "w") do |f|
|
2014-10-20 23:33:18 -04:00
|
|
|
f.puts mk
|
2014-10-24 04:16:52 -04:00
|
|
|
f.puts "after-update::", "prereq: after-update"
|
2008-06-21 02:31:18 -04:00
|
|
|
end
|
2009-01-30 00:32:43 -05:00
|
|
|
clean.push("rbconfig.rb", ".rbconfig.time", "enc.mk")
|
2008-08-12 06:11:11 -04:00
|
|
|
print "prerequisites"
|
2008-06-19 08:35:35 -04:00
|
|
|
else
|
2014-10-24 04:16:52 -04:00
|
|
|
system(*%W"#{YACC} -o parse.c parse.y")
|
2008-06-21 02:31:18 -04:00
|
|
|
end
|
2008-08-13 00:09:15 -04:00
|
|
|
FileUtils.rm_rf(clean)
|
2008-06-21 02:31:18 -04:00
|
|
|
unless $?.success?
|
|
|
|
puts " failed"
|
|
|
|
return
|
|
|
|
end
|
|
|
|
puts " done"
|
|
|
|
end
|
2008-06-19 08:35:35 -04:00
|
|
|
|
2008-09-26 05:40:04 -04:00
|
|
|
if v == "."
|
|
|
|
v = File.basename(Dir.pwd)
|
|
|
|
Dir.chdir ".."
|
2009-01-16 04:42:33 -05:00
|
|
|
else
|
|
|
|
Dir.chdir(File.dirname(v))
|
|
|
|
v = File.basename(v)
|
2008-09-26 05:40:04 -04:00
|
|
|
end
|
|
|
|
|
2014-05-13 06:09:41 -04:00
|
|
|
tarball = nil
|
2014-05-13 11:47:33 -04:00
|
|
|
return $packages.collect do |mesg|
|
|
|
|
(ext, *cmd) = PACKAGES[mesg]
|
2014-05-13 06:09:41 -04:00
|
|
|
File.directory?(destdir) or FileUtils.mkpath(destdir)
|
2013-08-09 01:05:15 -04:00
|
|
|
file = File.join(destdir, "#{$archname||v}#{ext}")
|
2014-05-13 06:09:41 -04:00
|
|
|
case ext
|
|
|
|
when /\.tar/
|
|
|
|
if tarball
|
|
|
|
next if tarball.empty?
|
|
|
|
else
|
|
|
|
tarball = "#{$archname||v}.tar"
|
|
|
|
print "creating tarball... #{tarball}"
|
|
|
|
if system("tar", "cf", tarball, v)
|
|
|
|
puts " done"
|
|
|
|
else
|
|
|
|
puts " failed"
|
|
|
|
tarball = ""
|
|
|
|
next
|
|
|
|
end
|
|
|
|
end
|
|
|
|
print "creating #{mesg} tarball... #{file}"
|
2014-10-24 04:16:52 -04:00
|
|
|
done = system(*cmd, tarball, out: file)
|
2014-05-13 06:09:41 -04:00
|
|
|
else
|
|
|
|
print "creating #{mesg} archive... #{file}"
|
2014-10-24 04:16:52 -04:00
|
|
|
done = system(*cmd, file, v)
|
2014-05-13 06:09:41 -04:00
|
|
|
end
|
|
|
|
if done
|
2008-06-21 02:31:18 -04:00
|
|
|
puts " done"
|
|
|
|
file
|
|
|
|
else
|
|
|
|
puts " failed"
|
|
|
|
nil
|
2008-06-20 19:39:45 -04:00
|
|
|
end
|
2008-06-21 02:31:18 -04:00
|
|
|
end.compact
|
|
|
|
ensure
|
2008-08-12 06:11:11 -04:00
|
|
|
FileUtils.rm_rf(v) if v and !$exported and !$keep_temp
|
2008-06-21 02:31:18 -04:00
|
|
|
end
|
|
|
|
|
2013-07-04 07:40:11 -04:00
|
|
|
success = true
|
2008-06-21 02:31:18 -04:00
|
|
|
revisions.collect {|rev| package(rev, destdir)}.flatten.each do |name|
|
2013-07-04 07:40:11 -04:00
|
|
|
if !name
|
|
|
|
success = false
|
|
|
|
next
|
|
|
|
end
|
2008-11-06 11:24:32 -05:00
|
|
|
str = open(name, "rb") {|f| f.read}
|
2008-10-28 04:21:57 -04:00
|
|
|
puts "* #{name}"
|
|
|
|
puts " SIZE: #{str.bytesize} bytes"
|
2014-05-13 11:47:36 -04:00
|
|
|
$digests.each do |alg|
|
2014-05-13 06:09:43 -04:00
|
|
|
printf " %-8s%s\n", "#{alg}:", Digest.const_get(alg).hexdigest(str)
|
|
|
|
end
|
2008-06-21 02:31:18 -04:00
|
|
|
end
|
2008-10-28 04:21:57 -04:00
|
|
|
|
2013-07-04 07:40:11 -04:00
|
|
|
exit false if !success
|
|
|
|
|
2008-10-28 04:21:57 -04:00
|
|
|
# vim:fileencoding=US-ASCII sw=2 ts=4 noexpandtab ff=unix
|