Sha256: ed65ddd54e97438c4a9395ce76e71f6ba000fc448f556f38b24848a245f02082
Contents?: true
Size: 373 Bytes
Versions: 33
Compression:
Stored size: 373 Bytes
Contents
#!/usr/bin/env ruby search = $:.inject([]) {|acc,d| acc.concat(["#{d}/libexec", "#{File.dirname(d)}/libexec" ].select {|libexec| libexec if File.directory? libexec }) } script = search.collect {|f| "#{f}/#{File.basename(ARGV[0])}" }.find {|f| File.exists? f } if script system(script, *ARGV[1..-1]) else puts "ERROR: can't find script #{File.basename(ARGV[0])}" end
Version data entries
33 entries across 33 versions & 1 rubygems