Permalink
Browse files

fix quoting issue in xcodebuild

  • Loading branch information...
moredip committed Jul 14, 2012
1 parent 42e2700 commit a04d9a135120a3a6d41ea7bf0bb0250dae8a11a1
Showing with 3 additions and 3 deletions.
  1. +2 −2 gem/lib/frank-cucumber/cli.rb
  2. +1 −1 gem/lib/frank-cucumber/version.rb
@@ -63,9 +63,9 @@ def build
extra_opts = XCODEBUILD_OPTIONS.map{ |o| "-#{o} #{options[o]}" if options[o] }.compact.join(' ')
- run "xcodebuild -xcconfig Frank/frankify.xcconfig clean build #{extra_opts} -configuration Debug -sdk iphonesimulator DEPLOYMENT_LOCATION=YES DSTROOT=#{build_output_dir} FRANK_LIBRARY_SEARCH_PATHS=#{frank_lib_directory}"
+ run %Q|xcodebuild -xcconfig Frank/frankify.xcconfig clean build #{extra_opts} -configuration Debug -sdk iphonesimulator DEPLOYMENT_LOCATION=YES DSTROOT="#{build_output_dir}" FRANK_LIBRARY_SEARCH_PATHS="\\"#{frank_lib_directory}\\""|
- run "mv #{build_output_dir}/{*,#{product_name}}.app"
+ FileUtils.mv( Dir.glob( "#{build_output_dir}/*.app" ).first, frankified_app_dir )
in_root do
FileUtils.cp_r(
@@ -1,5 +1,5 @@
module Frank
module Cucumber
- VERSION = "0.9.5.pre3"
+ VERSION = "0.9.5.pre4"
end
end

0 comments on commit a04d9a1

Please sign in to comment.