From 5b5891dc607c7bd2528a5c7c8eca499969312470 Mon Sep 17 00:00:00 2001 From: AndreyMaslennikov Date: Thu, 19 Dec 2019 16:01:48 +0300 Subject: [PATCH] Add java binaries to the beginning of CLASSPATH --- images/linux/scripts/installers/google-chrome.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/linux/scripts/installers/google-chrome.sh b/images/linux/scripts/installers/google-chrome.sh index 685b53624..6056599d5 100644 --- a/images/linux/scripts/installers/google-chrome.sh +++ b/images/linux/scripts/installers/google-chrome.sh @@ -37,7 +37,7 @@ echo "Downloading chromedriver v$LATEST_CHROMEDRIVER_VERSION..." wget "https://chromedriver.storage.googleapis.com/$LATEST_CHROMEDRIVER_VERSION/chromedriver_linux64.zip" unzip chromedriver_linux64.zip rm chromedriver_linux64.zip -mv chromedriver /usr/bin/chromedriver +mv "chromedriver" "/usr/bin/chromedriver" chown root:root /usr/bin/chromedriver chmod +x /usr/bin/chromedriver @@ -67,5 +67,5 @@ if [ ! -f "$SELENIUM_JAR_NAME" ]; then exit 1 fi -mv selenium-server-standalone-$SELENIUM_VERSION.jar /usr/share/java/selenium-server-standalone.jar -echo "CLASSPATH=/usr/share/java/selenium-server-standalone.jar:." | tee -a /etc/environment \ No newline at end of file +mv "selenium-server-standalone-$SELENIUM_VERSION.jar" "/usr/share/java/selenium-server-standalone.jar" +echo "CLASSPATH=/usr/share/java/selenium-server-standalone.jar:.:$CLASSPATH" | tee -a /etc/environment \ No newline at end of file