Skip to content
Browse files

fix a bug in c66f4fa

  • Loading branch information...
1 parent 522a042 commit 33e070a2bbdafce5d45980f48fb016e3ca08e776 @lrz lrz committed Oct 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/motion/project/vendor.rb
2 lib/motion/project/vendor.rb
@@ -164,7 +164,7 @@ def build_xcode(platform, opts)
# Copy .a files into the platform build directory.
prods = opts.delete(:products)
- Dir.glob('build/*.a').each do |lib|
+ Dir.glob(File.join(XcodeBuildDir, '*.a')).each do |lib|
next if prods and !prods.include?(File.basename(lib))
lib = File.readlink(lib) if File.symlink?(lib)
sh "/bin/cp \"#{lib}\" \"#{build_dir}\""

0 comments on commit 33e070a

Please sign in to comment.
Something went wrong with that request. Please try again.