Permalink
Browse files

always make sure to update legalcode branch

  • Loading branch information...
Dan Mills
Dan Mills committed Feb 7, 2014
1 parent a923d05 commit 7621b4de2704b0415d70da3d2b3eb4d6e5604760
Showing with 3 additions and 3 deletions.
  1. +3 −3 scripts/update.sh
View
@@ -51,11 +51,11 @@ if [[ ! -z `git branch -r | grep ${BRANCH}` ]]; then
echo "Checking out legalcode branch ${BRANCH} from remote"
git checkout -b ${BRANCH} origin/${BRANCH}
fi
-else
- echo "Making sure legalcode is set to branch ${BRANCH}"
- git checkout ${BRANCH}
fi
+echo "Making sure legalcode is set to branch ${BRANCH}"
+git checkout ${BRANCH}
+
echo "Updating legalcode"
git pull

0 comments on commit 7621b4d

Please sign in to comment.