Browse files

Make derived data detection more robust by using the build Validate l…

…ine.
  • Loading branch information...
1 parent c8adafe commit 03089dbcde74fab3cc89699e17436cd7ed79a5a9 @lukeredpath committed Aug 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/beta_builder.rb
View
2 lib/beta_builder.rb
@@ -76,7 +76,7 @@ def derived_build_dir_from_build_output
output = File.read("build.output")
# yes, this is truly horrible, but unless somebody else can find a better way...
- reference = output.split("\n").grep(/Xcode\/DerivedData\/(.*)-(.*)/).first.split(" ").last
+ reference = output.split("\n").grep(/^Validate(.*)\/Xcode\/DerivedData\/(.*)-(.*)/).first.split(" ").last
derived_data_directory = reference.split("/Build/Products/").first
"#{derived_data_directory}/Build/Products/"
end

0 comments on commit 03089db

Please sign in to comment.