Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #66 from alphagov/more-robust-start-app
Browse files Browse the repository at this point in the history
Improve test for virtualenv in start-app.sh
  • Loading branch information
robyoung committed Mar 5, 2014
2 parents 84134f4 + 52f005f commit 8790a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

VENV_DIR=~/.virtualenvs/stagecraft

if [ ! -d "${VENV_DIR}" ]; then
if [ ! -f "${VENV_DIR}/bin/activate" ]; then
mkdir -p ${VENV_DIR}
virtualenv --no-site-packages "$VENV_DIR"
fi
Expand Down

0 comments on commit 8790a69

Please sign in to comment.