diff --git a/modules/pypimirror/files/pull-repo.sh b/modules/pypimirror/files/pull-repo.sh index 58aa9e618c..8fd48c2f88 100644 --- a/modules/pypimirror/files/pull-repo.sh +++ b/modules/pypimirror/files/pull-repo.sh @@ -13,6 +13,7 @@ if [ ! -d ${project} ] ; then git clone git://github.com/openstack/${project}.git ${project} >/dev/null 2>&1 fi cd ${project} +$pip_command pip git fetch origin for branch in `git branch -a | grep remotes.origin | grep -v origin.HEAD | awk '{print $1}' ` ; do git reset --hard $branch