Commit e058c253 authored by Nigel McNie's avatar Nigel McNie

Don't use the - form of git commands which don't exist any more.

parent c597ad15
......@@ -53,14 +53,14 @@ PUBLIC="git+ssh://git.mahara.org/git/mahara.git"
SECURITY="git+ssh://git.catalyst.net.nz/var/gitprivate/mahara-security.git"
echo "Cloning public repository ${PUBLIC} in ${BUILDDIR}/mahara"
git-init
git-remote add -t ${BRANCH} mahara ${PUBLIC}
git init
git remote add -t ${BRANCH} mahara ${PUBLIC}
git fetch -q mahara
git checkout -b ${BRANCH} mahara/${BRANCH}
if [ "$OPTION" != "--public" ]; then
echo "Checking out security repository ${SECURITY}..."
git-remote add -t ${BRANCH} mahara-security ${SECURITY}
git remote add -t ${BRANCH} mahara-security ${SECURITY}
git fetch -q mahara-security
git checkout -b S_${BRANCH} mahara-security/${BRANCH}
echo "Merging $BRANCH (public) into $BRANCH (security)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment