Skip to content

Commit

Permalink
Set site.base_url
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmcwhirter committed May 4, 2012
1 parent 167980b commit 395048a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/awestruct/cli/generate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def initialize(config, profile=nil, base_url=nil, default_base_url='http://local
def run()
begin
puts "Generating site"
@engine.run( @profile, @base_url, @default_base_url, @force )
@engine.run( @profile, @base_url, @profile['base_url'] || @default_base_url, @force )
rescue =>e
puts e
puts e.backtrace
Expand Down

0 comments on commit 395048a

Please sign in to comment.