[119923] trunk/dports/devel/dbus/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat May 10 07:14:24 PDT 2014


Revision: 119923
          https://trac.macports.org/changeset/119923
Author:   mcalhoun at macports.org
Date:     2014-05-10 07:14:24 -0700 (Sat, 10 May 2014)
Log Message:
-----------
dbus: whitespace changes only

Modified Paths:
--------------
    trunk/dports/devel/dbus/Portfile

Modified: trunk/dports/devel/dbus/Portfile
===================================================================
--- trunk/dports/devel/dbus/Portfile	2014-05-10 14:13:44 UTC (rev 119922)
+++ trunk/dports/devel/dbus/Portfile	2014-05-10 14:14:24 UTC (rev 119923)
@@ -42,26 +42,26 @@
     
     # look for place to install startup files
     if { [tbool startupitem.install] } {
-    # See #28121 and #42994
-    #set startup_root  [join [lrange [exec /usr/bin/dscl . -read Users/${install.user} NFSHomeDirectory] 1 end]]
-    #set startup_root  [join [lrange [exec /usr/bin/dscl '/Active Directory/All Domains' -read Users/${install.user} NFSHomeDirectory] 1 end]]
-    foreach datasource [list . "'/Active Directory/All Domains'" ] {
-        if { ! [catch {system "/usr/bin/dscl ${datasource} -read Users/${install.user} NFSHomeDirectory"}] } {
-            ui_debug "dscl found ${install.user} in ${datasource}"
-            set startup_root [join [lrange [exec /usr/bin/dscl ${datasource} -read Users/${install.user} NFSHomeDirectory] 1 end]]
-            break
-        } else {
-            ui_debug "dscl can not find ${install.user} in ${datasource}"
+        # See #28121 and #42994
+        #set startup_root  [join [lrange [exec /usr/bin/dscl . -read Users/${install.user} NFSHomeDirectory] 1 end]]
+        #set startup_root  [join [lrange [exec /usr/bin/dscl '/Active Directory/All Domains' -read Users/${install.user} NFSHomeDirectory] 1 end]]
+        foreach datasource [list . "'/Active Directory/All Domains'" ] {
+            if { ! [catch {system "/usr/bin/dscl ${datasource} -read Users/${install.user} NFSHomeDirectory"}] } {
+                ui_debug "dscl found ${install.user} in ${datasource}"
+                set startup_root [join [lrange [exec /usr/bin/dscl ${datasource} -read Users/${install.user} NFSHomeDirectory] 1 end]]
+                break
+            } else {
+                ui_debug "dscl can not find ${install.user} in ${datasource}"
+            }
         }
+        if { ! [info exists startup_root] } {
+            if { ![tbool startupitem.install] } {
+                ui_debug "Unable to find a valid home directory, but user disallows startup items."
+            } else {
+                ui_warn "Unable to find a valid home directory even though user requested startup items be installed."
+            }        
+        }
     }
-    if { ! [info exists startup_root] } {
-        if { ![tbool startupitem.install] } {
-            ui_debug "Unable to find a valid home directory, but user disallows startup items."
-        } else {
-            ui_warn "Unable to find a valid home directory even though user requested startup items be installed."
-        }        
-    }
-    }
 } else {
     if { [variant_isset underscore] } {
         set dbus_user     _messagebus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140510/077f2cde/attachment-0001.html>


More information about the macports-changes mailing list