ソースを参照

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

erdo_king 5 年 前
親
コミット
64b0e2804e
1 ファイル変更、1 行追加、1 行削除
  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 )
 
 }