#250 webgoat_developer_bootstrap.sh not working with Ubuntu (sh = dash)
This commit is contained in:
parent
b63f2ae44e
commit
d753d8c863
@ -47,7 +47,7 @@ hr() {
|
|||||||
## test if command exists
|
## test if command exists
|
||||||
ftest() {
|
ftest() {
|
||||||
echo -e "$COL_CYAN info: Checking if ${1} is installed $COL_RESET"
|
echo -e "$COL_CYAN info: Checking if ${1} is installed $COL_RESET"
|
||||||
if ! type -f "${1}" > /dev/null 2>&1; then
|
if ! type "${1}" > /dev/null 2>&1; then
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user