You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manifests/virtualenv.pp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@
119
119
default => "-i ${index}",
120
120
}
121
121
122
-
# Python 2.6 and older does not support setuptools/distribute > 0.8 which
122
+
# Python 2.6 and older does not support setuptools/distribute > 0.8 which
123
123
# is required for pip wheel support, pip therefor requires --no-use-wheel flag
124
124
# if the # pip version is more recent than 1.4.1 but using an old python or
125
125
# setuputils/distribute version
@@ -132,7 +132,7 @@
132
132
path => $path,
133
133
cwd => "/tmp",
134
134
environment => $environment,
135
-
unless => "grep '^[\t]*VIRTUAL_ENV=[\'\"]*${venv_dir}[\"\']*[ \t]*$' ${venv_dir}/bin/activate", #Unless activate exists and VIRTUAL_ENV is correct we re-create the virtualenv
135
+
unless => "grep '^[\\t ]*VIRTUAL_ENV=[\\\\'\\\"]*${venv_dir}[\\\"\\\\'][\\t ]*$' ${venv_dir}/bin/activate", #Unless activate exists and VIRTUAL_ENV is correct we re-create the virtualenv
0 commit comments