Index: tools/get_skia_lkgr.sh |
diff --git a/tools/get_skia_lkgr.sh b/tools/get_skia_lkgr.sh |
index 1c38dd5c4517c1105ac6a63c53fcb2948c1e1788..2fc75b7e1e96cb0593bc4c2e5c2ea9ed40957daa 100755 |
--- a/tools/get_skia_lkgr.sh |
+++ b/tools/get_skia_lkgr.sh |
@@ -6,9 +6,10 @@ |
# Outputs the Last Known Good Revision of Skia. |
-source gbash.sh || exit |
+prodcertstatus -q || (echo "Please run prodaccess." 1>&2; exit 1) |
+source gbash.sh || exit 2 |
-set -x -e |
+set -e |
# Retrieve last known good revision. (App-engine script is very flaky, so retry |
# 10 times.) |