diff --git a/shell_utils.sh b/shell_utils.sh index 2743751..b91f91f 100755 --- a/shell_utils.sh +++ b/shell_utils.sh @@ -29,6 +29,7 @@ function valgrind_docker_make () { # You must use "./" to specify executable file function valgrind_macos () { + local i for i in "$@"; do if [[ $i == ./* ]]; then cmd=$(nm -an $i | grep asan)