Skip to content

Commit

Permalink
Avoid breaking when no revision file exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Apr 22, 2012
1 parent 9392868 commit 1a333cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/headers.rake
Expand Up @@ -32,7 +32,7 @@ namespace :dream do
task :update_revision do
Dir.chdir(PROJECT_PATH) do
revision_path = File.join(SOURCE_PATH, "Revision.h")
current_revision = File.read(revision_path)
current_revision = File.read(revision_path) rescue ""

buf = StringIO.new
buf.puts "// This file is automatically generated"
Expand Down

0 comments on commit 1a333cb

Please sign in to comment.