Replaced all references to ~ with EHOME.
This commit is contained in:
parent
6d9d2fa4d9
commit
189535154a
1 changed files with 4 additions and 4 deletions
|
@ -81,9 +81,9 @@ function buildIIgsSDK() {
|
||||||
mkdir -p "${IIGS}/ORCA"
|
mkdir -p "${IIGS}/ORCA"
|
||||||
chmod 777 "${IIGS}/ORCA"
|
chmod 777 "${IIGS}/ORCA"
|
||||||
|
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ${EHOME}/.ssh
|
||||||
cp -f "${PUBLIC}" ~/.ssh/id_rsa.pub
|
cp -f "${PUBLIC}" ${EHOME}/.ssh/id_rsa.pub
|
||||||
cp -f "${PRIVATE}" ~/.ssh/id_rsa
|
cp -f "${PRIVATE}" ${EHOME}/.ssh/id_rsa
|
||||||
touch ${EHOME}/.ssh/authorized_keys
|
touch ${EHOME}/.ssh/authorized_keys
|
||||||
touch ${EHOME}/.ssh/config
|
touch ${EHOME}/.ssh/config
|
||||||
chmod go-w ${EHOME}
|
chmod go-w ${EHOME}
|
||||||
|
@ -120,7 +120,7 @@ function buildIIgsSDK() {
|
||||||
sudo chown $(id -ru):$(id -rg) "${IIGS}/ORCA/."
|
sudo chown $(id -ru):$(id -rg) "${IIGS}/ORCA/."
|
||||||
|
|
||||||
if [[ ! -d GoldenGate ]]; then
|
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 config --global credential.helper cache
|
||||||
git clone https://${GGUSER}:${GGPASS}@gitlab.com/GoldenGate/GoldenGate.git
|
git clone https://${GGUSER}:${GGPASS}@gitlab.com/GoldenGate/GoldenGate.git
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue