Skip to content

Commit a7c3330

Browse files
author
Andrei Coman
committed
COOK-4061 Create virtualenv directory recursively if it doesn't exist
1 parent 02a7bdd commit a7c3330

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

providers/virtualenv.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def whyrun_supported?
3131
directory new_resource.path do
3232
user new_resource.owner if new_resource.owner
3333
group new_resource.group if new_resource.group
34+
recursive true
3435
end
3536
Chef::Log.info("Creating virtualenv #{new_resource} at #{new_resource.path}")
3637
interpreter = new_resource.interpreter ? " --python=#{new_resource.interpreter}" : ""

0 commit comments

Comments
 (0)