Index: server/buildpkgs/build_all.sh ================================================================== --- server/buildpkgs/build_all.sh +++ server/buildpkgs/build_all.sh @@ -193,11 +193,11 @@ rm -rf "${dir}/out" faileddirs="${faileddirs} ${dir}" echo "Failed to build ${dir}" else if [ "${CLEANONLY}" != "1" ]; then - outdir="$(ls -1d "${dir}/out"/*/"${PLATFORM}/" | head -1)" + outdir="$(ls -1d "${dir}/out"/*/"${PLATFORM}/" 2>/dev/null | head -1)" mv "${dir}/out/build-${PLATFORM}.log" "${outdir}/build.log" >/dev/null 2>/dev/null fi fi done