Merge pull request #234 from mpsijm/patch-1

Remove `-s` option from `which` in test script
This commit is contained in:
Max Brunsfeld 2018-11-20 14:04:39 -08:00 committed by GitHub
commit 30258c843e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"