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

Check for virtualenv bin/activate file #251

Merged
merged 1 commit into from
Mar 5, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion start-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ until mkdir $LOCK_DIR > /dev/null 2>&1; do
sleep 1
done

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