blackosx/RevoBuilder — Issue #3: Clean 10.7.3 and Xcode 4.3 Fails to find Developer Tools
Author: brycv
Created: 2012-03-06 00:41:15+00:00
State: open

I just added a clean install of Xcode 4.3 with no prior installations on a Lion 10.7.3 system. Developer Tools are not found because Apple no longer puts Developer Tools in /Developer. This patch solves the problem although it may or may not be the right solution. It can be applied from the RevoBuilder source directory with patch -p0. I didn't modify the comment but it probably should be changed.

```
diff -ru RevStart/Scripts/RevStart.command RevStart.patched/Scripts/RevStart.command
--- RevStart/Scripts/RevStart.command	2012-03-05 16:02:21.000000000 -0800
+++ RevStart.patched/Scripts/RevStart.command	2012-03-05 16:36:14.000000000 -0800
@@ -474,7 +474,7 @@
# Load any previously saved settings if they exist.

# Check to see if Apple Developer tools is installed
-if [ -d "/Developer/usr/bin" ]; then	# Best To Check, Some Updates Make /Developer Even If Nothing Else Is In It.
+if [ -e "/usr/bin/make" ]; then	# Best To Check, Some Updates Make /Developer Even If Nothing Else Is In It.
compilerExist=Yes
else
compilerExist=No
```