From 38e3cd8ee974336d9a6077e6db6f6c3c3327427d Mon Sep 17 00:00:00 2001 From: Patrick Rohr Date: Fri, 24 Mar 2023 06:56:22 -0700 Subject: [PATCH] cronet import: set -e -x in cronet_import.sh To better surface errors in the import script. Test: run script Change-Id: I833bff2aebd9a89f2cccfe3b6271db86f1bd6dab --- Cronet/tools/import/import_cronet.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cronet/tools/import/import_cronet.sh b/Cronet/tools/import/import_cronet.sh index 994e28a388..0f04af741f 100755 --- a/Cronet/tools/import/import_cronet.sh +++ b/Cronet/tools/import/import_cronet.sh @@ -24,6 +24,8 @@ # -n rev: The new revision to import. # -f: Force copybara to ignore a failure to find the last imported revision. +set -e -x + OPTSTRING=fl:n: usage() {