Daniel Gibbs 8 ani în urmă
părinte
comite
bb83370cb7
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      tests/tests_shellcheck.sh

+ 2 - 2
tests/tests_shellcheck.sh

@@ -7,5 +7,5 @@
 # Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki
 # Website: https://gameservermanagers.com
 
-find . -type d \( ! -name "shunit2-2.1.6" \) -type f -prune -name "*.sh" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
-find . -type d \( ! -name "shunit2-2.1.6" \) -type f -prune -name "*.cfg" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
+find . -type f -name "*.sh" -not -path "./shunit2-2.1.6/*" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
+find . -type f -name "*.cfg" -not -path "./shunit2-2.1.6/*" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;