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 f838096 commit 710881bCopy full SHA for 710881b
src/install-kani.sh
@@ -24,15 +24,15 @@ cargo-kani setup;
24
# Get the current installed version of kani and check it against the latest version
25
installed_version=$(kani --version | awk '{print $2}')
26
27
-if [$? -eq 0]; then
+if [ $? -eq 0 ]; then
28
if [ "$1" == "latest" ]; then
29
# Cargo search returns version number as string
30
requested_version=$(cargo search kani-verifier | grep -m 1 "^kani-verifier " | awk '{print $3}')
31
else
32
requested_version=$1
33
fi
34
35
- if ["$installed_version" != "$requested_version"]; then
+ if [ "$installed_version" != "$requested_version" ]; then
36
echo "::error::The version of Kani installed was different than the one requested"
37
exit 1
38
0 commit comments