Move setting of variable

This commit is contained in:
MaksimZhukov
2020-01-14 13:25:54 +03:00
parent 2c37b60941
commit 4c5d54d3dd

View File

@@ -41,9 +41,9 @@ rm chromedriver_linux64.zip
CHROMEDRIVER_BIN="/usr/bin/chromedriver" CHROMEDRIVER_BIN="/usr/bin/chromedriver"
mv "chromedriver" $CHROMEDRIVER_BIN mv "chromedriver" $CHROMEDRIVER_BIN
echo "ChromeWebDriver=$CHROMEDRIVER_BIN" | tee -a /etc/environment
chown root:root $CHROMEDRIVER_BIN chown root:root $CHROMEDRIVER_BIN
chmod +x $CHROMEDRIVER_BIN chmod +x $CHROMEDRIVER_BIN
echo "ChromeWebDriver=$CHROMEDRIVER_BIN" | tee -a /etc/environment
# Run tests to determine that the chromedriver installed as expected # Run tests to determine that the chromedriver installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work" echo "Testing to make sure that script performed as expected, and basic scenarios work"