if [ "$EGVMOPENSRFWORKING" = "" ]; then
EGVMMISSINGCONFIG="EGVMOPENSRFWORKING $EGVMMISSINGCONFIG"
fi
+if [ "$EGVMMLNCMAIN" = "" ]; then
+ EGVMMISSINGCONFIG="EGVMMLNCMAIN $EGVMMISSINGCONFIG"
+fi
if [ "$EGVMPGPASS" = "" ]; then
EGVMMISSINGCONFIG="EGVMPGPASS $EGVMMISSINGCONFIG"
fi
# Add mainrepo remotes, but don't bother fetching (if we need them later we will fetch)
cd working/$EGVMNAME/Evergreen
git remote add mainrepo $EGVMEVERGREENMAIN
+# MassLNC Repo
+git remote add masslnc $EGVMMLNCMAIN
cd ../OpenSRF
git remote add mainrepo $EGVMOPENSRFMAIN
if [ "$EGVMUSESIPSERVER" = "1" ]; then
exit -1
fi
echo $?
+ elif [ "$BRANCH" != "$HEAD" -a "$HEAD" = "MASSLNC" ]; then
+ # To check out from the main repo we have to add the proper remote, fetch it, then checkout
+ cd working/$EGVMNAME/$REPO && git fetch masslnc && git merge masslnc/$BRANCH
+ if [ $? -ne 0 ]; then
+ echo "MassLNC branch of $BRANCH for $REPO could not be merged (Request: $1)"
+ exit -1
+ fi
+ echo $?
# At this point the only extra piece allowed is BASE:, so fail if that isn't what was provided
elif [ "$BRANCH" != "$HEAD" ]; then
echo "Unknown modifier: $HEAD (Request: $1)"
echo "perl SIPServer.pm /openils/conf/oils_sip.xml"
fi
-
+ssh-keygen -f "/home/masslnc/.ssh/known_hosts" -R $EGVMNAME > /dev/null 2>&1
+ssh-keygen -f "/home/masslnc/.ssh/known_hosts" -R $EGVMNAME.$EGVMDOMAIN > /dev/null 2>&1