buildit
changeset 905 d2b59d5a79ed
parent 841 abf1c0c872de
child 906 4c633d8c519b
--- a/buildit	Mon Feb 15 16:40:00 2010 -0800
+++ b/buildit	Wed Feb 17 12:30:44 2010 -0800
@@ -5,7 +5,7 @@
 #
 ###########################################################################
 #
-# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
@@ -86,8 +86,6 @@
 env
 echo "------------------------------------------------------------------------------"
 
-
-
 XMAKE="$(pwd)/open-src/util/build-tools/xmake"
 chmod +x ${XMAKE}
 
@@ -100,7 +98,9 @@
 
 chmod +x open-src/common/install-sh open-src/common/delibtoolize.pl
 cd open-src
-${XMAKE} -v -k clean install
+# Run as two steps to avoid race between cleaning & rebuilding
+${XMAKE} -v -k clean 
+${XMAKE} -v -k install
 cd ..
 
 echo ""
@@ -112,8 +112,6 @@
 perl -e '$runtime=time-$ARGV[0]; printf("Runtime: %d:%02d\n", $runtime/3600, ($runtime%3600)/60); ' "${START}"
 
 if [ "${MAKE_PKGS}" = 1 ] ; then
-    export PACKAGE_LIST="$(cd packages && echo SUNW*)"
     chmod +x make_release_packages
-    mkdir packages/common_files
     ./make_release_packages
 fi