We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 827c2fe commit 5e9fe26Copy full SHA for 5e9fe26
stdlib-install.sh
@@ -30,6 +30,8 @@ logHappy "Agda executable: $AGDA_EXEC"
30
# Ask the executable for its version number
31
# unless the caller has specified one
32
if [ -z ${AGDA_VERSION-} ]; then
33
+ # There is a more recent "--numeric-version" option but old
34
+ # versions of Agda do not implement it!
35
AGDA_VERSION=$($AGDA_EXEC --version | head -n 1 | sed "s/^[a-zA-Z ]*\(2[0-9.]*\)\(-.*\)*$/\1/")
36
fi
37
0 commit comments