annotate bin/clone-mozbase.sh @ 365:6bbc4867a795

begin porting from shell function
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 11 Jul 2013 17:01:42 -0700
parents f833aef163c6
children 89fa3a440acb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
284
35b30d8fccac add a function to clone mozbase; for the love of workflow
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 #!/bin/bash
35b30d8fccac add a function to clone mozbase; for the love of workflow
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
344
f833aef163c6 minor improvements
Jeff Hammel <jhammel@mozilla.com>
parents: 284
diff changeset
3 VENV=virtualenv.py
f833aef163c6 minor improvements
Jeff Hammel <jhammel@mozilla.com>
parents: 284
diff changeset
4
f833aef163c6 minor improvements
Jeff Hammel <jhammel@mozilla.com>
parents: 284
diff changeset
5 if [[ -d "${VIRTUAL_ENV}" ]]
f833aef163c6 minor improvements
Jeff Hammel <jhammel@mozilla.com>
parents: 284
diff changeset
6 then
f833aef163c6 minor improvements
Jeff Hammel <jhammel@mozilla.com>
parents: 284
diff changeset
7 echo "virtualenv: ${VIRTUAL_ENV}"
f833aef163c6 minor improvements
Jeff Hammel <jhammel@mozilla.com>
parents: 284
diff changeset
8 fi
f833aef163c6 minor improvements
Jeff Hammel <jhammel@mozilla.com>
parents: 284
diff changeset
9
284
35b30d8fccac add a function to clone mozbase; for the love of workflow
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10 git clone git@github.com:k0s/mozbase.git
35b30d8fccac add a function to clone mozbase; for the love of workflow
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11 cd mozbase
35b30d8fccac add a function to clone mozbase; for the love of workflow
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 git remote add mozilla git@github.com:mozilla/mozbase.git
344
f833aef163c6 minor improvements
Jeff Hammel <jhammel@mozilla.com>
parents: 284
diff changeset
13 git pull mozilla master
f833aef163c6 minor improvements
Jeff Hammel <jhammel@mozilla.com>
parents: 284
diff changeset
14 git push origin master