File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ function virtualenvwrapper_run_hook {
152
152
if [ -z " $VIRTUALENVWRAPPER_LOG_DIR " ]
153
153
then
154
154
echo " ERROR: VIRTUALENVWRAPPER_LOG_DIR is not set." 1>&2
155
+ \r m -f " $hook_script "
155
156
return 1
156
157
fi
157
158
" $VIRTUALENVWRAPPER_PYTHON " -c ' from virtualenvwrapper.hook_loader import main; main()' $HOOK_VERBOSE_OPTION --script " $hook_script " " $@ "
@@ -162,12 +163,13 @@ function virtualenvwrapper_run_hook {
162
163
if [ ! -f " $hook_script " ]
163
164
then
164
165
echo " ERROR: virtualenvwrapper_run_hook could not find temporary file $hook_script " 1>&2
166
+ \r m -f " $hook_script "
165
167
return 2
166
168
fi
167
169
# cat "$hook_script"
168
170
source " $hook_script "
169
171
fi
170
- \r m -f " $hook_script " > /dev/null 2>&1
172
+ \r m -f " $hook_script "
171
173
return $result
172
174
}
173
175
You can’t perform that action at this time.
0 commit comments