From d0de04bfa77692ab33f566a5c488a4624abdf80c Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Fri, 4 Nov 2016 14:36:27 -0700 Subject: [PATCH] Update CONTRIBUTING.md (flutter/engine#3203) At some point recently we started putting a JSON file in the out/ directory and this broke this suggested build script. This patch makes the script more resilient to such files. --- engine/src/flutter/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/CONTRIBUTING.md b/engine/src/flutter/CONTRIBUTING.md index 47dc20587d..6a8912a12e 100644 --- a/engine/src/flutter/CONTRIBUTING.md +++ b/engine/src/flutter/CONTRIBUTING.md @@ -160,7 +160,7 @@ flutter/tools/gn --android --runtime-mode=profile flutter/tools/gn --android --runtime-mode=release cd out -ls | xargs -n 1 sh -c 'ninja -C $0 || exit 255' +find . -mindepth 1 -maxdepth 1 -type d | xargs -n 1 sh -c 'ninja -C $0 || exit 255' flutter update-packages --upgrade ```