[90008] trunk/base/src/macports1.0/macports.tcl

jberry at macports.org jberry at macports.org
Sun Feb 19 09:45:27 PST 2012


Revision: 90008
          http://trac.macports.org/changeset/90008
Author:   jberry at macports.org
Date:     2012-02-19 09:45:26 -0800 (Sun, 19 Feb 2012)
Log Message:
-----------
whitespace only: tab -> spaces

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2012-02-19 17:41:14 UTC (rev 90007)
+++ trunk/base/src/macports1.0/macports.tcl	2012-02-19 17:45:26 UTC (rev 90008)
@@ -433,7 +433,7 @@
 
         # If the directory is valid, use it
         if {[_is_valid_developer_dir $devdir]} {
-			set macports::developer_dir $devdir
+            set macports::developer_dir $devdir
             return
         }
 
@@ -456,17 +456,17 @@
         }
     }
 
-	# Try the default
-	if {$os_major >= 11 && [vercmp $xcodeversion 4.3] >= 0} {
-		set devdir "/Applications/Xcode.app/Contents/Developer"
-	} else {
-		set devdir "/Developer"
-	}
-	if {![_is_valid_developer_dir $devdir]} {
-		ui_error "No valid Xcode installation was found. Please install or correctly select Xcode using xcode-select."
-	}
-	
-	set macports::developer_dir $devdir
+    # Try the default
+    if {$os_major >= 11 && [vercmp $xcodeversion 4.3] >= 0} {
+        set devdir "/Applications/Xcode.app/Contents/Developer"
+    } else {
+        set devdir "/Developer"
+    }
+    if {![_is_valid_developer_dir $devdir]} {
+        ui_error "No valid Xcode installation was found. Please install or correctly select Xcode using xcode-select."
+    }
+    
+    set macports::developer_dir $devdir
 }
 
 proc macports::_is_valid_developer_dir {dir} {
@@ -749,8 +749,8 @@
         set macports::portautoclean "yes"
         global macports::portautoclean
     }
-	# whether to keep logs after successful builds
-   	if {![info exists keeplogs]} {
+    # whether to keep logs after successful builds
+    if {![info exists keeplogs]} {
         set macports::keeplogs "no"
         global macports::keeplogs
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120219/c637a473/attachment.html>


More information about the macports-changes mailing list