Daniel Gibbs преди 8 години
родител
ревизия
bb83370cb7
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      tests/tests_shellcheck.sh

+ 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 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 {} \;