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"
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue