Sha256: 1d1a0730f160621b526f2979316aae88bd61f0d121d304fe6ae9856159c665f5

Contents?: true

Size: 1.1 KB

Versions: 5

Compression:

Stored size: 1.1 KB

Contents

#!/usr/bin/ruby -w
#***********************************************************************
#* Rwd/Tinker -- A Ruby program for the RudyWebDialog.
#* Copyright (c) 2004, 2005 by Steven Gibson. All Rights Reserved.
#* at "steven@superant.com".
#***********************************************************************/
$progdir =""
require 'fileutils'

DistroName = "rwdwaddresses-1.04"

$progdir = File::expand_path( File.dirname(__FILE__))
results = " "

puts "creating #{DistroName} applet distribution files "
sourcedir = "../rwdaddresses/"

   
	fileName =  "installed/" + "#{DistroName}" + ".inf"
  
  		fd = File.open(fileName,"r")
		@@displaytext = " "
    temp = fd.readline.chomp
		while ! fd.eof?
    
			@@displaytext = fd.readline.chomp
   lastslash = @@displaytext.rindex('/')
   @@pathaddress = @@displaytext.slice(0..lastslash)
   puts @@pathaddress
   sourcefile = sourcedir + @@displaytext    
   puts @@displaytext
   FileUtils.mkdir_p(@@pathaddress)
   @@copycommand = "cp -v -r -f -a  #{sourcefile} #{@@pathaddress}"
      
      puts `#{@@copycommand}`
		end
		fd.close
	

ListingCommand = "ls -1 -s -h *"

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
bigtinker-0.93 tests/makerwdwaddresses-1.04.rb
bigtinker-0.94 tests/makerwdwaddresses-1.04.rb
rwdschedule-1.01 tests/makerwdwaddresses-1.04.rb
rwdshell-1.00 tests/makerwdwaddresses-1.04.rb
rwdtinker-1.66 tests/makerwdwaddresses-1.04.rb