apache/incubator-cordova-ios — pull request #7 by mobilemind (2012-03-13 03:44:56+00:00)
Title: Makefile: add `| head -n 1` to filter shell command results for XC_APP & PM_APP when mdfind returns multiple lines

XC_APP & PM_APP not set properly when mdfind returns multiple results for ````Xcode*```` or ````PackageMaker*````
This happens when ShinyFrog ````XcodeDrop.app```` is installed (http://blog.shinyfrog.net/tag/shinydroplets/), or more than 1 copy of PackageMaker is on the machine.