Add additional scripts for checking the Change Date

This commit is contained in:
Johan Wikman
2019-06-25 09:38:28 +03:00
parent 17643e842e
commit 698dd8a0f2
4 changed files with 70 additions and 5 deletions

View File

@ -14,8 +14,7 @@
SCRIPT_PATH=$(dirname $(realpath $0))
# DIRECTORIES should list all directories containing files to be updated.
DIRECTORIES="avro client connectors Documentation examples include maxctrl maxscale-system-test maxutils plugins query_classifier rabbitmq_consumer script server"
source $SCRIPT_PATH/maxscale-directories
SCRIPT=$SCRIPT_PATH/update-change-date
@ -31,7 +30,7 @@ function print_usage_and_exit
function check
{
for d in $DIRECTORIES
for d in $MAXSCALE_DIRECTORIES
do
if [ ! -d $d ]
then
@ -46,7 +45,7 @@ function run
local from=$1
local to=$2
for d in $DIRECTORIES
for d in $MAXSCALE_DIRECTORIES
do
echo $d
(cd $d; $SCRIPT $from $to)