diff --git a/utils/main.sh b/utils/main.sh index 158326e..62ec20d 100644 --- a/utils/main.sh +++ b/utils/main.sh @@ -13,7 +13,7 @@ if [ -z "$1" ] echo "" echo "" echo " Command List:" - FILES=$(ls -1A ./$LANGUAGE/scripts | sed -e 's/\.sh$//' | sed -e 's/^/ /') + FILES=$(ls -1A ./$LANGUAGE/scripts 2>/dev/null | sed -e 's/\.sh$//' | sed -e 's/^/ /') for f in $FILES do if [ $f != "md5" ] && [ $f != "version_info" ] && [ $f != "filelist" ]; then diff --git a/utils/md5 b/utils/md5 index a47b4f9..7e3f7df 100644 --- a/utils/md5 +++ b/utils/md5 @@ -1,4 +1,4 @@ define.sh:883c4033be11b6d1268b852beada5463 - -main.sh:663ac9bb9ee46eb8cd1d717e8eb5e486 - -search.sh:2a471ffc3daa12f96157e613873f589d - +main.sh:afdc55cbdd992bf2a7e21ed79a773d8f - +search.sh:248d94cca6eeb92c384e9c49c9d0f4a9 - .updateDirectories:0ede00461e947494545e694040787b3f - diff --git a/utils/search.sh b/utils/search.sh index 73885b0..7342b97 100644 --- a/utils/search.sh +++ b/utils/search.sh @@ -1,5 +1,5 @@ function search() { - FILES2=$(ls -A $1) + FILES2=$(ls -A $1 2>/dev/null) for g in $FILES2 do if [ -d $1$g ]; @@ -23,7 +23,7 @@ function search() { function check() { echo "Check $1" - FILES2=$(ls -A $1) + FILES2=$(ls -A $1 2>/dev/null) if [ -f "$1/md5" ]; then echo " md5: https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5"