4
0
Daniel Gibbs 8 жил өмнө
parent
commit
53b177df3b

+ 2 - 2
tests/tests_shellcheck.sh

@@ -7,5 +7,5 @@
 # Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki
 # Documentation: https://github.com/GameServerManagers/LinuxGSM/wiki
 # Website: https://gameservermanagers.com
 # Website: https://gameservermanagers.com
 
 
-find . -type f -name "shunit2-2.1.6" -prune -name "*.sh" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
-find . -type f -name "shunit2-2.1.6" -prune -name "*.cfg" -exec shellcheck --shell=bash --exclude=SC2154,SC2034 {} \;
+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 {} \;