aboutsummaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
authorDmitry Puzikov <dmitry.puzikov@tieto.com>2019-03-04 11:06:16 +0100
committerDmitry Puzikov <dmitry.puzikov@tieto.com>2019-03-04 11:20:03 +0100
commitb0e12b4535c7a63f81729f93e5d17d83aff6bc52 (patch)
treeafb02f7996e1732eee13fc4f8f7faa5450682ebe /setup.sh
parenta8ceb692a88a4d1b987b15b0a99ed4fd9189819e (diff)
Fix $PATH for chromium-chromedirver
Apt installs chromium-chromedriver into /usr/lib/chromium-browser/chromedriver and doesnt add to $PATH so need to add it explicitly. Change-Id: I9d28b3d12438401ec5a94d6bbaebd06cef092632 Issue-ID: INT-945 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 50e344ab..e91555e4 100755
--- a/setup.sh
+++ b/setup.sh
@@ -101,6 +101,10 @@ cd $path
# as required software is installed already.
if $BUILDTIME
then
+ # we need to update PATH with chromium-chromedriver
+ echo "Adding in-container chromedriver to PATH"
+ ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin/chromedriver
+
echo "Skipping desktop steps, building container image..."
else
#