Permalink
Browse files

assume this works to make version ignore case

  • Loading branch information...
peterhoeg committed Mar 29, 2012
1 parent 28d2307 commit 78fd75f6bf80d60f3694800c49ef47298bffdb20
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/get_stuff.rb
View
@@ -452,7 +452,7 @@ class AppError < StandardError ; end
end
def replace_variables(str)
- s = str.gsub('%version%', @version.to_s)
+ s = str.gsub(/%version%/i, @version.to_s)
s.gsub!('%mainversion%', @mainversion.to_s)
s.gsub!('%shortversion%', @shortversion.to_s)
s.gsub!('%fileversion%', @fileversion.to_s)

0 comments on commit 78fd75f

Please sign in to comment.