Merge pull request #234 from mpsijm/patch-1
Remove `-s` option from `which` in test script
This commit is contained in:
commit
30258c843e
1 changed files with 2 additions and 2 deletions
|
|
@ -112,9 +112,9 @@ case ${mode} in
|
|||
;;
|
||||
|
||||
debug)
|
||||
if which -s lldb; then
|
||||
if hash lldb &> /dev/null; then
|
||||
lldb $cmd -- "${args[@]}"
|
||||
elif which -s gdb; then
|
||||
elif hash gdb &> /dev/null; then
|
||||
gdb $cmd -- "${args[@]}"
|
||||
else
|
||||
echo "No debugger found"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue