What steps will reproduce the problem?
1. Create a directory with a space in the name, e.g. "SVN Repositories"
2. Checkout GTM into that directory (or a subdirectory)
3. Open GTMiPhone.xcodeproj
4. Build
What is the expected output?
A clean build.
What do you see instead?
- Build fails with "Command /bin/sh failed with exit code 1".
- last line of script output is "usage: dirname path"
What version of the product are you using? On what operating system?
svn trunk rev131 (also exhibits in 1.5.1, which is why I checked out the trunk)
MacOS X 10.5.7, iPhone SDK 2.2.1
Please provide any additional information below.
This is fixed by changing line 53 of RunIPhoneUnitTest.sh from:
ScriptDir=$(dirname $(echo $0 | sed -e "s,^\([^/]\),$(pwd)/\1,"))
to:
ScriptDir=$(dirname "$(echo $0 | sed -e "s,^\([^/]\),$(pwd)/\1,")")
Original issue reported on code.google.com by pcgora...@gmail.com on 18 May 2009 at 6:15
Original issue reported on code.google.com by
pcgora...@gmail.com
on 18 May 2009 at 6:15