Commit eab14a83 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[EmbedFrameworksScript] Double quote framework name

parent 56444414
......@@ -123,7 +123,7 @@ module Pod
unless frameworks.empty?
script << %(if [[ "$CONFIGURATION" == "#{config}" ]]; then\n)
frameworks.each do |framework|
script << " install_framework '#{framework}'\n"
script << %( install_framework "#{framework}"\n)
end
script << "fi\n"
end
......
......@@ -8,17 +8,17 @@ module Pod
'Release' => %w(CrashlyticsFramework.framework),
}
generator = Pod::Generator::EmbedFrameworksScript.new(frameworks)
generator.send(:script).should.include <<-eos.strip_heredoc
generator.send(:script).should.include <<-SH.strip_heredoc
if [[ "$CONFIGURATION" == "Debug" ]]; then
install_framework 'Pods/Loopback.framework'
install_framework 'Reveal.framework'
install_framework "Pods/Loopback.framework"
install_framework "Reveal.framework"
fi
eos
generator.send(:script).should.include <<-eos.strip_heredoc
SH
generator.send(:script).should.include <<-SH.strip_heredoc
if [[ "$CONFIGURATION" == "Release" ]]; then
install_framework 'CrashlyticsFramework.framework'
install_framework "CrashlyticsFramework.framework"
fi
eos
SH
end
end
end
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