fix geckodriver output

This commit is contained in:
Mikhail Timofeev
2020-03-06 01:04:14 +03:00
parent 5727a81299
commit e9e5323c93
4 changed files with 43 additions and 41 deletions

View File

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

View File

@@ -56,4 +56,4 @@ if ! command -v chromedriver; then
fi
echo "Lastly, documenting what we added to the metadata file"
DocumentInstalledItem "Chromedriver ($(chromedriver --version)); Chrome Driver is available via CHROMEWEBDRIVER environment variable"
DocumentInstalledItem "$(chromedriver --version); Chrome Driver is available via CHROMEWEBDRIVER environment variable"