comparison scripts/exec-all-projects-docker.sh @ 598:b3ff6b33a9c5

correct script that was changed on production
author Marc Davis <marc.davis@mcoecn.org>
date Tue, 17 Sep 2024 08:25:27 -0400
parents e97aa313253e
children
comparison
equal deleted inserted replaced
595:8262e397a155 598:b3ff6b33a9c5
28 for f in $(find $PARENTDIR -type d -name .env) 28 for f in $(find $PARENTDIR -type d -name .env)
29 do 29 do
30 projectdir=`dirname $f` 30 projectdir=`dirname $f`
31 project=`basename $projectdir` 31 project=`basename $projectdir`
32 cd $projectdir 32 cd $projectdir
33 if ls .env/ssdt-*-shared.properties 1> /dev/null 2>&1 || ls .env/ess-shared.properties 1> /dev/null 2>&1; then 33 if ls .env/*-shared.properties 1> /dev/null 2>&1; then
34 echo "projectdir is $projectdir" 34 echo "projectdir is $projectdir"
35 echo -e "----\n$executing $COMMAND on $project \n----" 35 echo -e "----\n$executing $COMMAND on $project \n----"
36 36
37 bash -c "${COMMAND}" 37 bash -c "${COMMAND}"
38 echo "" 38 echo ""
39 fi 39 fi
40 done 40 done