Browse files

Merge branch 'master' into ruby-config

  • Loading branch information...
2 parents 7f3cd0f + 2a62dc0 commit 669f99fb48801c5f68872e6d208210c98bf7e521 Andy Adams committed Nov 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/forge/builder.rb
View
2 lib/forge/builder.rb
@@ -166,7 +166,7 @@ def build_assets
end
# Copy the images directory over
- FileUtils.cp_r(File.join(@assets_path, 'images'), @project.build_path)
+ FileUtils.cp_r(File.join(@assets_path, 'images'), @project.build_path) if File.exists?(File.join(@assets_path, 'images'))
# Check for screenshot and move it into main build directory
Dir.glob(File.join(@project.build_path, 'images', '*')).each do |filename|

0 comments on commit 669f99f

Please sign in to comment.