Skip to content

Commit e66222f

Browse files
authored
Merge pull request #241 from rasa/patch-1
Fix logic bug in setup-chromedriver.sh
2 parents 3b4e701 + 5f44855 commit e66222f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/setup-chromedriver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ unzip -o -q chromedriver.zip
9191
echo Installing chromedriver to /usr/local/bin
9292
${sudo} mv "chromedriver-${ARCH}/chromedriver" /usr/local/bin/chromedriver
9393
rm -fr chromedriver.zip chromedriver-*
94-
if [[ -x "${CHROMEAPP}" ]]; then
94+
if command -v "${CHROMEAPP}" >/dev/null; then
9595
echo Chrome version:
9696
"${CHROMEAPP}" --version
9797
fi

0 commit comments

Comments
 (0)