Explorar o código

- Bugfix: "find" get mistake if current dir if subdir of sssh

erdo_king %!s(int64=4) %!d(string=hai) anos
pai
achega
64b0e2804e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sssh.sh

+ 1 - 1
sssh.sh

@@ -118,7 +118,7 @@ function get_projects() {
 
         done <<<$( egrep -v "(^\s*$|^#)" "${file}" )
 
-    done <<<$( find ${locationOfScript} -iname *.lst | sort )
+    done <<<$( find ${locationOfScript} -iname "*.lst" | sort )
 
 }