Skip to content

Commit 103fa3b

Browse files
If gnat2goto is not on the PATH, suggest a command that should add it.
1 parent 42f7c15 commit 103fa3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

experiments/list_unsupported.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/bin/sh
2+
3+
# gnat2goto on the path?
24
if ! command -v gnat2goto > /dev/null; then
35
echo >&2 "gnat2goto not on PATH!"
6+
gnat2goto_bin=$(cd "$(dirname ${0})/../gnat2goto/install/bin" 2>/dev/null && pwd)
7+
echo >&2 "Suggested adding gnat2goto to your PATH with the following command:"
8+
echo >&2 " export PATH=\"${gnat2goto_bin}:\${PATH}\""
49
exit 1
510
fi
611

0 commit comments

Comments
 (0)