We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c8b3c commit bde7ba8Copy full SHA for bde7ba8
tests/test_project_mk.sh
@@ -8,6 +8,7 @@ oneTimeSetUp() {
8
mkdir -p "$WORKON_HOME"
9
rm -rf "$PROJECT_HOME"
10
mkdir -p "$PROJECT_HOME"
11
+ export VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME/hooks"
12
source "$test_dir/../virtualenvwrapper.sh"
13
}
14
virtualenvwrapper/project.py
@@ -44,7 +44,8 @@ def post_mkproject_source(args):
44
#
45
# Run user-provided scripts
46
47
-[ -f "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject" ] && source "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject"
+[ -f "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject" ] && \
48
+ source "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject"
49
"""
50
51
0 commit comments