Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #12 from digital-science/fix-template-syntax-error
Browse files Browse the repository at this point in the history
fixed typos in the templates
  • Loading branch information
goblin committed Jan 11, 2013
2 parents 5e05aaf + f7b4d0b commit 521710a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/baton/templates/gem/bin/gem-monitor.tt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require "baton/<%= config[:name] %>/<%= config[:name] %>-monitor" require "baton/<%= config[:name] %>/<%= config[:name] %>-monitor"
require 'optparse' require 'optparse'


cfg = File.expand_path("../../config/<%= config[:name]) %>.cfg", __FILE__) cfg = File.expand_path("../../config/<%= config[:name] %>.cfg", __FILE__)


OptionParser.new do |opt| OptionParser.new do |opt|
opt.banner = "Usage: <%= config[:name] %> [OPTIONS]" opt.banner = "Usage: <%= config[:name] %> [OPTIONS]"
Expand Down
2 changes: 1 addition & 1 deletion lib/baton/templates/gem/bin/gem.tt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'baton/<%= config[:name] %>' require 'baton/<%= config[:name] %>'
require 'optparse' require 'optparse'


cfg = File.expand_path("../../config/<%= config[:name]) %>.cfg", __FILE__) cfg = File.expand_path("../../config/<%= config[:name] %>.cfg", __FILE__)
daemonize = false daemonize = false


OptionParser.new do |opt| OptionParser.new do |opt|
Expand Down

0 comments on commit 521710a

Please sign in to comment.