Return-Path: X-Original-To: apmail-climate-commits-archive@minotaur.apache.org Delivered-To: apmail-climate-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 559E810179 for ; Wed, 4 Jun 2014 18:46:28 +0000 (UTC) Received: (qmail 60197 invoked by uid 500); 4 Jun 2014 18:46:28 -0000 Delivered-To: apmail-climate-commits-archive@climate.apache.org Received: (qmail 60123 invoked by uid 500); 4 Jun 2014 18:46:28 -0000 Mailing-List: contact commits-help@climate.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@climate.apache.org Delivered-To: mailing list commits@climate.apache.org Received: (qmail 60114 invoked by uid 99); 4 Jun 2014 18:46:28 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 18:46:28 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0961893F3A9; Wed, 4 Jun 2014 18:46:28 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: goodale@apache.org To: commits@climate.apache.org Date: Wed, 04 Jun 2014 18:46:28 -0000 Message-Id: <32b8018bbdc0497cbf61a80aa68566b7@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: Add note about using an alias for ocw activation Add note about using an alias for ocw activation Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/7ccd34b8 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/7ccd34b8 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/7ccd34b8 Branch: refs/heads/CLIMATE-451 Commit: 7ccd34b83b16eae26e7ed90cf7cd2c66952f7c59 Parents: ca50fbf Author: cgoodale Authored: Wed Jun 4 11:43:29 2014 -0700 Committer: cgoodale Committed: Wed Jun 4 11:43:29 2014 -0700 ---------------------------------------------------------------------- easy-ocw/install-osx.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/7ccd34b8/easy-ocw/install-osx.sh ---------------------------------------------------------------------- diff --git a/easy-ocw/install-osx.sh b/easy-ocw/install-osx.sh index 4b058d7..e9419a9 100755 --- a/easy-ocw/install-osx.sh +++ b/easy-ocw/install-osx.sh @@ -157,3 +157,16 @@ source ~/ocw/bin/activate ~/ocw >> install_log # with pip. header "Installing additional Python packages" pip install -r ocw-pip-dependencies.txt >> install_log + + +if [ $WITH_VIRTUAL_ENV == 1 ]; then + echo "***POST INSTALLATION NOTE*** +To make it easier to change into the 'ocw' virtualenv add the +following alias to your ~/.bash_profile + + alias ocw='source ~/ocw/bin/activate ~/ocw/' + +When you want to use ocw in the future, you just have to type 'ocw' +in your terminal." +fi +