CocoaPods/CocoaPods — pull request #103 by roothybrid7 (2012-01-09 18:17:07+00:00)
Title: Prevent two or more times of old directory deletion.

If you define multiple targets Podfile,
because they are several times
removed 'Pods/Headers' directory, fixed it.

If specified definition of the target block with the ':exclusive => true' , Header file symlinks are not only create 'dependency' of the block.

fixed to not remove more than once.

Sample Podfile:

```ruby
platform :ios

dependency 'JSONKit', '~> 1.4'
dependency 'AFNetworking', '~> 0.7'
dependency 'BlocksKit', '~> 1.0'
dependency 'NSLogger'

target :debug do
dependency 'ASIHTTPRequest'
end

target :test, :exclusive => true do
dependency 'LRMocky'
end
```

only test target library:

```
$ tree -L 1 Pods/Headers/
Pods/Headers/
└── LRMocky
```