1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-18 12:43:08 +00:00

Update tools/install_modules.sh: using bash instead of sh, fix unclosed double quote

This commit is contained in:
Gabriele Gristina 2025-07-12 19:28:29 +02:00
parent 63377a9890
commit 638aaa902a
No known key found for this signature in database
GPG Key ID: 9F68B59298F311F0

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
## ##
## Author......: See docs/credits.txt ## Author......: See docs/credits.txt
@ -157,7 +157,7 @@ fi
php --version &> /dev/null php --version &> /dev/null
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "! php must be installed for some unit tests' echo "! php must be installed for some unit tests"
ERRORS=$((ERRORS+1)) ERRORS=$((ERRORS+1))
fi fi
@ -165,9 +165,9 @@ fi
echo echo
if [ $ERRORS -gt 0 ]; then if [ $ERRORS -gt 0 ]; then
echo '[ FAIL ] Some commands were not successful' echo "[ FAIL ] Some commands were not successful"
exit 1 exit 1
fi fi
echo '[ OK ] All commands were successful' echo "[ OK ] All commands were successful"
exit 0 exit 0