Commit 62101a60 authored by Eloy Durán's avatar Eloy Durán

[Sandbox] Small cleanup.

parent 13ee9f82
...@@ -42,13 +42,11 @@ prefixes << `brew --prefix`.strip unless `which brew`.strip.empty? ...@@ -42,13 +42,11 @@ prefixes << `brew --prefix`.strip unless `which brew`.strip.empty?
developer_prefix = `xcode-select --print-path`.strip developer_prefix = `xcode-select --print-path`.strip
xcode_app_path = File.expand_path('../..', developer_prefix) xcode_app_path = File.expand_path('../..', developer_prefix)
require 'erb' require 'erb'
profile = ERB.new(DATA.read, 0, '>').result(TOPLEVEL_BINDING) profile = ERB.new(DATA.read, 0, '>').result(TOPLEVEL_BINDING)
puts profile #puts profile
command = ['/usr/bin/sandbox-exec', '-p', profile, pod_bin, *ARGV] command = ['/usr/bin/sandbox-exec', '-p', profile, pod_bin, *ARGV]
#puts command
exec *command exec *command
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment