Add additional scripts for checking the Change Date
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user