mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-16 19:48:21 +00:00
Update tools/install_modules.sh: using bash instead of sh, fix unclosed double quote
This commit is contained in:
parent
63377a9890
commit
638aaa902a
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
##
|
||||
## Author......: See docs/credits.txt
|
||||
@ -157,7 +157,7 @@ fi
|
||||
|
||||
php --version &> /dev/null
|
||||
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))
|
||||
fi
|
||||
@ -165,9 +165,9 @@ fi
|
||||
echo
|
||||
|
||||
if [ $ERRORS -gt 0 ]; then
|
||||
echo '[ FAIL ] Some commands were not successful'
|
||||
echo "[ FAIL ] Some commands were not successful"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo '[ OK ] All commands were successful'
|
||||
echo "[ OK ] All commands were successful"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user