Cannot use an in-repo script to install git...

This commit is contained in:
Jean-Paul Calderone 2018-06-15 14:51:11 -04:00
parent 00e3a04c7e
commit 7dda09bb20
2 changed files with 4 additions and 8 deletions

View File

@ -53,7 +53,9 @@ jobs:
steps:
- run: &INSTALL_GIT
node: "Install Git"
command: "${CIRCLE_WORKING_DIRECTORY}/.circleci/install-git.sh"
command: |
sudo apt-get --quiet update
sudo apt-get --quiet --yes install git
- "checkout"
@ -208,9 +210,7 @@ jobs:
# Unfortunately, duplicate all the steps here but run with `sudo`.
steps:
- run:
<<: *INSTALL_GIT
command: "sudo ${CIRCLE_WORKING_DIRECTORY}/.circleci/install-git.sh"
- run: *INSTALL_GIT
- "checkout"

View File

@ -1,4 +0,0 @@
#!/bin/sh
apt-get --quiet update
apt-get --quiet --yes install git