Răsfoiți Sursa

Merge pull request #727 from h3xx/fix-regex

Mark Shust 2 ani în urmă
părinte
comite
a134bb8a87
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      compose/bin/start

+ 1 - 1
compose/bin/start

@@ -48,7 +48,7 @@ IS_VALID=true
 
 # Loop through all files missing from the compose.dev.yaml file
 for file in $VOLUME_LIST; do
-  if [ ! -e "$file" ] && [[ ! " $IGNORE_LIST " =~ $file ]]; then
+  if [[ ! -e $file && " $IGNORE_LIST " != *" $file "* ]]; then
     echo "$file: No such file or directory"
     IS_VALID=false
   fi