blob: fc92c0405d85a34db562e152523f20f3ad6aafee [file] [log] [blame]
#!/bin/bash
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
bin/cbuildbot_view_config --update_config
if [ "$(git diff cbuildbot/config_dump.json)" ]; then
echo "You have uncommitted changes to cbuildbot/config_dump.json"
echo "This is likely because you have modified:"
echo " cbuildbot/chromeos_config.py"
echo "Please --amend your commit to include config_dump.json."
echo
echo "In future, you can update the dump file with the command"
echo "bin/cbuildbot_view_config --update_config"
exit 1
fi