Skip to content

Commit af3f259

Browse files
committed
Remove double quotes
1 parent 710881b commit af3f259

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/install-kani.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@ installed_version=$(kani --version | awk '{print $2}')
2727
if [ $? -eq 0 ]; then
2828
if [ "$1" == "latest" ]; then
2929
# Cargo search returns version number as string
30-
requested_version=$(cargo search kani-verifier | grep -m 1 "^kani-verifier " | awk '{print $3}')
30+
requested_version=$(cargo search kani-verifier | grep -m 1 "^kani-verifier " | awk '{print $3}' | tr -d '"')
3131
else
3232
requested_version=$1
3333
fi
3434

3535
if [ "$installed_version" != "$requested_version" ]; then
36+
echo "Installed version: $installed_version"
37+
echo "Requested version: $requested_version
3638
echo "::error::The version of Kani installed was different than the one requested"
3739
exit 1
3840
fi

0 commit comments

Comments
 (0)