diff scripts/exec-all-projects-docker.sh @ 539:5d5525414c8d production

update exec-all-projects-docker.sh to search for ./env/*-shared.properties in place of ./env/ssdt-*-shared.properties. ESS doesn't follow the same pattern for property file names.
author Marc Davis <marc.davis@mcoecn.org>
date Mon, 13 May 2024 13:28:30 -0400
parents d75786228e6b
children 652e0b0552b1
line wrap: on
line diff
--- a/scripts/exec-all-projects-docker.sh	Mon May 06 11:01:06 2024 -0400
+++ b/scripts/exec-all-projects-docker.sh	Mon May 13 13:28:30 2024 -0400
@@ -2,7 +2,7 @@
 # Scans for standard SSDT docker projects in specified parent path and
 # executes the specified command.
 #
-# The first parameter specifices the parent directory to search for. 
+# The first parameter specifies the parent directory to search for.
 # 
 # The second parameter specifies the command to execute against each
 # SSDT standard docker project found under the parent directory.
@@ -30,7 +30,7 @@
    projectdir=`dirname $f`
    project=`basename $projectdir`
    cd $projectdir
-   if ls .env/ssdt-*-shared.properties 1> /dev/null 2>&1; then
+   if ls .env/*-shared.properties 1> /dev/null 2>&1; then
       echo "projectdir is $projectdir"
       echo -e "----\n$executing $COMMAND on $project \n----"