Diff

Differences From Artifact [98c08187b6]:

To Artifact [1f0e2b9be4]:


   190    190   	if [ "${failed}" = "1" ]; then
   191    191   		cp "${dir}/out/build-${PLATFORM}.log" "${dir}/failed-${PLATFORM}-`hostname`.log"
   192    192   
   193    193   		rm -rf "${dir}/out"
   194    194   		faileddirs="${faileddirs} ${dir}"
   195    195   		echo "Failed to build ${dir}"
   196    196   	else
   197         -		outdir="$(ls -1d "${dir}/out"/*/"${PLATFORM}/" | head -1)"
   198         -		mv "${dir}/out/build-${PLATFORM}.log" "${outdir}/build.log"
          197  +		if [ "${CLEANONLY}" != "1" ]; then
          198  +			outdir="$(ls -1d "${dir}/out"/*/"${PLATFORM}/" | head -1)"
          199  +			mv "${dir}/out/build-${PLATFORM}.log" "${outdir}/build.log"
          200  +		fi
   199    201   	fi
   200    202   done
   201    203   
   202    204   # Cleanup is done at this point
   203    205   if [ "${CLEANONLY}" = "1" ]; then
   204    206   	exit 0
   205    207   fi