Skip to content

Commit

Permalink
don't assume program files are in 'C:\Program Files'
Browse files Browse the repository at this point in the history
  • Loading branch information
vertiginous committed Sep 16, 2009
1 parent fdde314 commit 590cc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdoc/generator/chm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RDoc::Generator::CHM < RDoc::Generator::Darkfish

RDoc::RDoc.add_generator( self )

HHC_PATH = "c:/Program Files/HTML Help Workshop/hhc.exe"
HHC_PATH = "#{ENV['PROGRAMFILES']}/HTML Help Workshop/hhc.exe"

def initialize(options)
check_for_html_help_workshop
Expand Down

0 comments on commit 590cc39

Please sign in to comment.