Permalink
Browse files

Allow a build to proceed without requiring unclean=1

  • Loading branch information...
1 parent c9bd910 commit ed0281de435083e9242d936b8790351ab3aeb7d5 @jhs jhs committed Dec 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 tasks/distro.rake
View
@@ -9,9 +9,9 @@ task :known_checkout do
if ! system("git", "diff-index", "--quiet", "HEAD")
diffs = %x[ git diff-index HEAD ]
msg = "This checkout is not clean:\n#{diffs}"
- raise msg unless ENV['unclean']
- puts "WARNING: #{msg}\n"
+ #raise msg unless ENV['unclean']
+ puts "WARNING: #{msg}\n" unless ENV['unclean']
end
# TODO: Maybe check for unknown files

0 comments on commit ed0281d

Please sign in to comment.