# HG changeset patch # User Jeff Hammel # Date 1392855144 28800 # Node ID b0bfa6a0058f49e87fb5f1705132eed6a1130585 # Parent 08574641d8016da373ab0f5ff4b0c4afb67b4777 STUB: bin/clone-mozbase.sh diff -r 08574641d801 -r b0bfa6a0058f bin/clone-mozbase.sh --- a/bin/clone-mozbase.sh Wed Feb 19 16:03:17 2014 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ -#!/bin/bash - -VENV=virtualenv.py - -if [[ -d "${VIRTUAL_ENV}" ]] -then - echo "virtualenv: ${VIRTUAL_ENV}" -else - if [ -n "${VIRTUAL_ENV}" ] - then - echo "VIRTUAL_ENV defined but not a directory: ${VIRTUAL_ENV}" - exit 1 - fi - - if ! which ${VENV} - then - echo "${VENV} not found" - exit 1 - fi - VIRTUAL_ENV=${PWD}/mozbase - echo "Creating virtualenv: ${VIRTUAL_ENV}" - ${VENV} ${VIRTUAL_ENV} - cd ${VIRTUAL_ENV} - . bin/activate - mkdir -p src - cd src -fi - -git clone git@github.com:k0s/mozbase.git -cd mozbase -git remote add mozilla git@github.com:mozilla/mozbase.git -git pull mozilla master -git push origin master - -if [ -d "${VIRTUAL_ENV}" ] -then - python setup_development.py -fi \ No newline at end of file