Fix version output

This commit is contained in:
Sergey Dolin
2020-02-11 13:57:40 +05:00
parent 1abfe68c56
commit 0fef85bbb5

View File

@@ -49,4 +49,5 @@ if ! command -v geckodriver; then
fi fi
echo "Lastly, documenting what we added to the metadata file" echo "Lastly, documenting what we added to the metadata file"
DocumentInstalledItem "Geckodriver ($(geckodriver --version)); Gecko Driver is available via GECKOWEBDRIVER environment variable" ver=`./geckodriver --version|head -1|awk '{print $2}'`
DocumentInstalledItem "Geckodriver (${ver}); Gecko Driver is available via GECKOWEBDRIVER environment variable"