install-eg.sh: specify git repo to use
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 11 Sep 2019 20:16:53 +0000 (13:16 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 11 Sep 2019 20:16:53 +0000 (13:16 -0700)
deployment/install-eg.sh

index b09c943..f6db0cb 100755 (executable)
@@ -6,6 +6,9 @@ DEFAULT_USER="opensrf"
 INSTALL_USER="opensrf"
 BUILDDIR="/home/${INSTALL_USER}/evergreen"
 INSTALLDIR="/srv/openils"
 INSTALL_USER="opensrf"
 BUILDDIR="/home/${INSTALL_USER}/evergreen"
 INSTALLDIR="/srv/openils"
+REPO="git+ssh://git@git.sitka.bclibraries.ca/sitka/evergreen"
+#REPO="git://git.evergreen-ils.org/working/Evergreen.git"
+#REPO="git://git.evergreen-ils.org/Evergreen.git"
 BRANCH="user/jeffdavis/eg333-tpac"
 STAMP_ID="rel_3_3_3"
 VERSION="3.3.3.sitka.1"
 BRANCH="user/jeffdavis/eg333-tpac"
 STAMP_ID="rel_3_3_3"
 VERSION="3.3.3.sitka.1"
@@ -66,7 +69,7 @@ else
   # checkout EG source
   if [ ! -d "${BUILDDIR}" ]
   then
   # checkout EG source
   if [ ! -d "${BUILDDIR}" ]
   then
-    suwrap "cd /home/${INSTALL_USER} && git clone git+ssh://git@git.sitka.bclibraries.ca/sitka/evergreen evergreen" ${INSTALL_USER}
+    suwrap "cd /home/${INSTALL_USER} && git clone ${REPO} evergreen" ${INSTALL_USER}
   fi
   suwrap "cd ${BUILDDIR} && git fetch origin && git checkout ${BRANCH} && git pull" ${INSTALL_USER}
 fi
   fi
   suwrap "cd ${BUILDDIR} && git fetch origin && git checkout ${BRANCH} && git pull" ${INSTALL_USER}
 fi