Permalink
Browse files

Use Dir instead of FileUtils

  • Loading branch information...
petecheslock committed Mar 23, 2013
1 parent 3fcb552 commit 828128c096ff69f00033c018f192893ab970bd03
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/veewee/provider/vmfusion/box/export.rb
@@ -105,7 +105,7 @@ def template_vagrantfile
end
def optimize_disk
current_dir=FileUtils.pwd
current_dir=Dir.pwd
FileUtils.chdir(vm_path)
env.ui.info "Optimizing Disk"
shell_exec("#{File.dirname(vmrun_cmd).shellescape}#{"/vmware-vdiskmanager".shellescape} -d #{name}.vmdk")

0 comments on commit 828128c

Please sign in to comment.