Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 396 Bytes
#!/usr/bin/env ruby
begin
config_index = (ARGV.index('-c') || ARGV.index('--config')) + 1
ARGV[config_index] = File.absolute_path(ARGV[config_index])
rescue
puts "Please specify a valid mneme configuration file (ex: -c config.rb)"
exit if !(ARGV.index('-h') || ARGV.index('--config'))
end
system("/usr/bin/env ruby " + File.dirname(__FILE__) + '/../lib/mneme.rb' + ' ' + ARGV.join(" "))