Permalink
Browse files

Merge pull request #12 from digital-science/fix-template-syntax-error

fixed typos in the templates
  • Loading branch information...
2 parents 5e05aaf + f7b4d0b commit 521710a64a132e74f1d52ca6315933a4b697b5f3 @goblin goblin committed Jan 11, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/baton/templates/gem/bin/gem-monitor.tt
  2. +1 −1 lib/baton/templates/gem/bin/gem.tt
@@ -3,7 +3,7 @@
require "baton/<%= config[:name] %>/<%= config[:name] %>-monitor"
require 'optparse'
-cfg = File.expand_path("../../config/<%= config[:name]) %>.cfg", __FILE__)
+cfg = File.expand_path("../../config/<%= config[:name] %>.cfg", __FILE__)
OptionParser.new do |opt|
opt.banner = "Usage: <%= config[:name] %> [OPTIONS]"
@@ -3,7 +3,7 @@
require 'baton/<%= config[:name] %>'
require 'optparse'
-cfg = File.expand_path("../../config/<%= config[:name]) %>.cfg", __FILE__)
+cfg = File.expand_path("../../config/<%= config[:name] %>.cfg", __FILE__)
daemonize = false
OptionParser.new do |opt|

0 comments on commit 521710a

Please sign in to comment.