Unset the `CDPATH` env variable before shelling-out. #1694 #1943

merged 3 commits into from Mar 30, 2014

4 participants


I guess bash is only used in run_prepare_command, but I'm not sure if the CDPATH should be unset globally at some other point so it can't create problems in the future.
Also, should this have a test?

CocoaPods member

@apalancat it would be great for this to have a test, yes!

CocoaPods member

Also a small note in the documentation of the method referencing the original issue would be helpful... finally don't forget to add an entry to changelog and credit yourself!


Not sure if I messed up by doing a merge of 0.30 and updating the PR, let me know if I should change anything.
Otherwise I think it should be OK, tests & doc


Issue has been confirmed by @AhmadAlokush

@fabiopelosin fabiopelosin merged commit 9a4e304 into CocoaPods:master Mar 30, 2014

1 check passed

Details default The Travis CI build passed
CocoaPods member

Thanks 🍷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment