Skip to content

Commit 21695e6

Browse files
committed
Improve script runner reliability
1 parent 364f32f commit 21695e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ax/ax_runner.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
22
# Simple wrapper script to catch signals and diagnose issues
33

4-
exec ./ax "$@"
4+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
5+
6+
exec "$SCRIPT_DIR/ax" "$@"

0 commit comments

Comments
 (0)