diff --git a/scripts/buildVm.sh b/scripts/buildVm.sh index 27f279b..a55414f 100755 --- a/scripts/buildVm.sh +++ b/scripts/buildVm.sh @@ -81,9 +81,9 @@ function buildIIgsSDK() { mkdir -p "${IIGS}/ORCA" chmod 777 "${IIGS}/ORCA" - mkdir -p ~/.ssh - cp -f "${PUBLIC}" ~/.ssh/id_rsa.pub - cp -f "${PRIVATE}" ~/.ssh/id_rsa + mkdir -p ${EHOME}/.ssh + cp -f "${PUBLIC}" ${EHOME}/.ssh/id_rsa.pub + cp -f "${PRIVATE}" ${EHOME}/.ssh/id_rsa touch ${EHOME}/.ssh/authorized_keys touch ${EHOME}/.ssh/config chmod go-w ${EHOME} @@ -120,7 +120,7 @@ function buildIIgsSDK() { sudo chown $(id -ru):$(id -rg) "${IIGS}/ORCA/." if [[ ! -d GoldenGate ]]; then - ssh-keygen -F gitlab.com || ssh-keyscan gitlab.com > ~/.ssh/known_hosts + ssh-keygen -F gitlab.com || ssh-keyscan gitlab.com > ${EHOME}/.ssh/known_hosts git config --global credential.helper cache git clone https://${GGUSER}:${GGPASS}@gitlab.com/GoldenGate/GoldenGate.git fi