2015-09-28 21:05:37 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
T=$(mktemp -d)
|
|
|
|
trap "rm -rf $T" EXIT
|
|
|
|
|
|
|
|
channels_file=${1:-gerritbot/channels.yaml}
|
|
|
|
|
|
|
|
./tools/normalize_channels_yaml.py >$T/regenned
|
|
|
|
|
2016-10-18 20:42:47 +00:00
|
|
|
echo "Checking whether entries are sorted alphabetically"
|
2019-04-09 17:35:05 +00:00
|
|
|
diff -u $channels_file $T/regenned
|