From ccc10f25f5d913da1a8b45de87bba87479e0ea11 Mon Sep 17 00:00:00 2001 From: Slater-Victoroff Date: Tue, 6 Aug 2013 09:47:26 -0400 Subject: [PATCH] Small fixup to final print statement in Create Dev Env script Fixed Typo --- scripts/create-dev-env.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/create-dev-env.sh b/scripts/create-dev-env.sh index 25e1b7520b..73ae93ab2d 100755 --- a/scripts/create-dev-env.sh +++ b/scripts/create-dev-env.sh @@ -387,12 +387,12 @@ export WORKON_HOME=$PYTHON_DIR if [[ `type -t mkvirtualenv` != "function" ]]; then case `uname -s` in Darwin) - source `which virtualenvwrapper.sh` + VEWRAPPER=`which virtualenvwrapper.sh` ;; [Ll]inux) if [[ -f "/etc/bash_completion.d/virtualenvwrapper" ]]; then - source /etc/bash_completion.d/virtualenvwrapper + VEWRAPPER=/etc/bash_completion.d/virtualenvwrapper else error "Could not find virtualenvwrapper" exit 1 @@ -401,6 +401,7 @@ if [[ `type -t mkvirtualenv` != "function" ]]; then esac fi +source $VEWRAPPER # Create edX virtualenv and link it to repo # virtualenvwrapper automatically sources the activation script if [[ $systempkgs ]]; then @@ -514,11 +515,11 @@ if [[ ! $quiet ]]; then environment. Ensure the following lines are added to your login script, and source your login script if needed: - source `which virtualenvwrapper.sh` + source $VEWRAPPER Then, every time you're ready to work on the project, just run - $ workon mitx + $ workon edx-platform To start the Django on port 8000