Skip to content
This repository has been archived by the owner on Oct 2, 2018. It is now read-only.

Commit

Permalink
Merge pull request #175 from HughJeffner/patch-1
Browse files Browse the repository at this point in the history
Shell escape product name in build command
  • Loading branch information
KrauseFx committed Jan 12, 2016
2 parents 44d509d + c9b281e commit 68658d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/gym/generators/build_command_generator.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'shellwords'

module Gym
# Responsible for building the fully working xcodebuild command
class BuildCommandGenerator
Expand Down Expand Up @@ -59,7 +61,7 @@ def suffix

def pipe
pipe = []
pipe << "| tee '#{xcodebuild_log_path}' | xcpretty"
pipe << "| tee #{xcodebuild_log_path.shellescape} | xcpretty"
pipe << "--no-color" if Helper.colors_disabled?
pipe << "> /dev/null" if Gym.config[:suppress_xcode_output]

Expand Down

0 comments on commit 68658d1

Please sign in to comment.