Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ignore blank lines in ant property files

  • Loading branch information...
commit e32ec40f7ca957c000689a9d459c4725e73a1cc1 1 parent 1fb0722
@enebo enebo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Rakefile
View
2  Rakefile
@@ -39,7 +39,7 @@ Object.const_set(:BASE_DIR, Dir.pwd)
File.open("default.build.properties") do |props|
props.each_line do |line|
# skip comments
- next if line =~ /^\W*#/
+ next if line =~ /(^\W*#|^$)/
# build const name
name, value = line.split("=")
Please sign in to comment.
Something went wrong with that request. Please try again.