Browse Source

Change directory before extracting chromedriver

Kevin van Zonneveld 9 years ago
parent
commit
6c1cb3e4df
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bin/install-chromedriver

+ 1 - 0
bin/install-chromedriver

@@ -25,6 +25,7 @@ else
     brew install chromedriver
   else
     mkdir -p "${HOME}/bin"
+    cd "${HOME}/bin"
     wget 'http://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip'
     unzip -o chromedriver_linux64.zip && rm -f chromedriver_linux64.zip
     chmod 755 chromedriver