[darwinbuild-changes] [225] trunk/darwinbuild/darwinbuild.common

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:58:54 PDT 2006


Revision: 225
          http://trac.macosforge.org/projects/darwinbuild/changeset/225
Author:   ssen
Date:     2006-10-04 01:58:53 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
If there's no .hdrs receipt, but there's a local full root,
make sure there's not already a receipt for the full root.
otherwise we'd keep loading the build root over and over

Modified Paths:
--------------
    trunk/darwinbuild/darwinbuild.common

Modified: trunk/darwinbuild/darwinbuild.common
===================================================================
--- trunk/darwinbuild/darwinbuild.common	2005-09-05 16:26:07 UTC (rev 224)
+++ trunk/darwinbuild/darwinbuild.common	2006-10-04 08:58:53 UTC (rev 225)
@@ -279,8 +279,16 @@
 	    else
 		CheckIfNewerThanReceipt "$BuildRoot" "$Project" "hdrs" "$SelfBuiltRoot"
 		if [ $? -eq 0 ]; then
-		    # we're newer Root. Load us
-		    InstallSelfBuiltRoot=1
+		    CheckForReceipt "$BuildRoot" "$Project" "root"
+		    if [ $? -eq 0 ]; then
+			CheckIfNewerThanReceipt "$BuildRoot" "$Project" "root" "$SelfBuiltRoot"
+			if [ $? -eq 0 ]; then
+			# we're newer Root. Load us
+			    InstallSelfBuiltRoot=1
+			fi
+		    else
+			InstallSelfBuiltRoot=1
+		    fi
 		fi
 		
 	    fi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/fa750529/attachment-0001.html


More information about the darwinbuild-changes mailing list