Commit 00bc92ea authored by Eloy Duran's avatar Eloy Duran

Only check if the source of a pod is ‘local’ if there is a source.

Which might not be the case if a pod is part of another pod.

Fixes #130.
parent 1b5a8458
#!/usr/bin/env ruby
if $0 == __FILE__
$:.unshift File.expand_path('../../external/xcodeproj/ext', __FILE__)
$:.unshift File.expand_path('../../external/xcodeproj/lib', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)
end
......
......@@ -154,7 +154,7 @@ module Pod
include Config::Mixin
def local?
!source[:local].nil?
!source.nil? && !source[:local].nil?
end
def local_path
......
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