Przeglądaj źródła

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

erdo_king 4 lat temu
rodzic
commit
64b0e2804e
1 zmienionych plików z 1 dodań i 1 usunięć
  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 )
 
 }