[darwinbuild-changes] [246] trunk/darwinbuild/darwinbuild
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 02:01:56 PDT 2006
Revision: 246
http://trac.macosforge.org/projects/darwinbuild/changeset/246
Author: ssen
Date: 2006-10-04 02:01:56 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
only check for empty if the build tool thinks the build succeeded
Modified Paths:
--------------
trunk/darwinbuild/darwinbuild
Modified: trunk/darwinbuild/darwinbuild
===================================================================
--- trunk/darwinbuild/darwinbuild 2005-09-14 06:08:10 UTC (rev 245)
+++ trunk/darwinbuild/darwinbuild 2006-10-04 09:01:56 UTC (rev 246)
@@ -775,10 +775,12 @@
fi
fi
-IsDirectoryEmpty "$REAL_DSTROOT"
-if [ $? -eq 0 ]; then
- echo "$REAL_DSTROOT is empty. Build verification failed." 1>&2
- EXIT_STATUS=3
+if [ $EXIT_STATUS -eq 0 ]; then
+ IsDirectoryEmpty "$REAL_DSTROOT"
+ if [ $? -eq 0 ]; then
+ echo "$REAL_DSTROOT is empty. Build verification failed." 1>&2
+ EXIT_STATUS=3
+ fi
fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/4696b4f4/attachment-0001.html
More information about the darwinbuild-changes
mailing list