Fixes to bundle manager to make it vaguely usable.
[ardour.git] / gtk2_ardour / arval
index d427ae62e1d90874c2a2d004c95c1099184ab60c..7267857348a65fd77bf35f34b8610f13cf06caa3 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
-. ardev_common.sh
-exec valgrind  --num-callers=50 --tool=memcheck gtk2_ardour/ardour.bin --novst $*
+. `dirname "$0"`/ardev_common.sh
+export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
+exec valgrind  --num-callers=50 --tool=memcheck $EXECUTABLE --novst "$@"