1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Fixed bug where "haml -v" crashes.

git-svn-id: svn://hamptoncatlin.com/haml/trunk@393 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2007-03-07 07:20:14 +00:00
parent 562ae8c566
commit 9b977e960b

View file

@ -45,7 +45,7 @@ module Haml
end
opts.on_tail("-v", "--version", "Print version") do
puts("Haml " + File.read(File.dirname(__FILE__) + '/../VERSION'))
puts("Haml " + File.read(File.dirname(__FILE__) + '/../../VERSION'))
exit
end
end