Changeset 547:fd80af68bedc for bin
- Timestamp:
- 04/06/08 00:29:46 (8 months ago)
- Branch:
- default
- Location:
- bin
- Files:
-
- 3 modified
-
info.rb (modified) (1 diff)
-
install.rb (modified) (1 diff)
-
repackage.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bin/info.rb
r378 r547 18 18 19 19 k = case ARGV[0] 20 when /^t/ :'tag'21 when /^u/ :'url'22 when /^r/ :'revision'23 when /^a/ :'author'24 when /^d/ :'date'20 when /^t/ then 'tag' 21 when /^u/ then 'url' 22 when /^r/ then 'revision' 23 when /^a/ then 'author' 24 when /^d/ then 'date' 25 25 else 26 26 puts %Q{Unrecognized command "#{ARGV[0]}"} -
bin/install.rb
r282 r547 30 30 require 'getoptlong' 31 31 require 'rbconfig' 32 require ' ftools'32 require 'FileUtils' 33 33 require 'find' 34 34 35 35 opts = GetoptLong.new( [ '--uninstall', '-u', GetoptLong::NO_ARGUMENT], 36 [ '--destdir', '-d', GetoptLong::REQUIRED_ARGUMENT ],37 [ '--target', '-t', GetoptLong::REQUIRED_ARGUMENT ],38 [ '--concurrent', '-c', GetoptLong::NO_ARGUMENT],39 [ '--help', '-h', GetoptLong::NO_ARGUMENT],40 [ '--noop', '-n', GetoptLong::NO_ARGUMENT])36 [ '--destdir', '-d', GetoptLong::REQUIRED_ARGUMENT ], 37 [ '--target', '-t', GetoptLong::REQUIRED_ARGUMENT ], 38 [ '--concurrent', '-c', GetoptLong::NO_ARGUMENT], 39 [ '--help', '-h', GetoptLong::NO_ARGUMENT], 40 [ '--noop', '-n', GetoptLong::NO_ARGUMENT]) 41 41 42 42 -
bin/repackage.rb
r43 r547 3 3 Dir.chdir ".." if Dir.pwd =~ /bin.?$/ 4 4 5 require " ftools"5 require "FileUtils" 6 6 7 7 def copy_recursively( dir_name, dest )
