mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-17 20:18:17 +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
|
## 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
|
||||||
|
Loading…
Reference in New Issue
Block a user