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 #190 from alphagov/fix-race-condition
Browse files Browse the repository at this point in the history
Use a different virtualenv for each backdrop app
  • Loading branch information
tombooth committed Dec 10, 2013
2 parents 48d386c + 8a27375 commit 5a7a454
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
@@ -1,6 +1,6 @@
#!/bin/bash -e

venvdir=~/.virtualenvs/$(basename $(cd $(dirname $0) && pwd -P))
venvdir=~/.virtualenvs/$(basename $(cd $(dirname $0) && pwd -P))-$1-$2

if [ ! -d "${venvdir}" ]; then
virtualenv --no-site-packages "$venvdir"
Expand Down

0 comments on commit 5a7a454

Please sign in to comment.