Skip to content

Commit b827af6

Browse files
committed
util: valgrind.sh: Find suppressions regardless of current dir
1 parent 9ff7ba6 commit b827af6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

util/valgrind.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
#!/bin/sh
1+
#!/bin/bash
2+
3+
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
24

35
valgrind --leak-check=full \
46
--show-leak-kinds=all \
5-
--suppressions=util/valgrind.supp \
7+
--suppressions=$SCRIPT_DIR/valgrind.supp \
68
$@

0 commit comments

Comments
 (0)