From 03ba78ab26697fed1d6726b67f774ecf91206147 Mon Sep 17 00:00:00 2001 From: Torben Date: Sat, 8 Mar 2014 15:17:16 +0100 Subject: [PATCH] fix missing local variable --- lib/vagrant-cachier/action/configure_bucket_root.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-cachier/action/configure_bucket_root.rb b/lib/vagrant-cachier/action/configure_bucket_root.rb index d91beed..1ea59fe 100644 --- a/lib/vagrant-cachier/action/configure_bucket_root.rb +++ b/lib/vagrant-cachier/action/configure_bucket_root.rb @@ -34,7 +34,7 @@ module VagrantPlugins def setup_omnibus_cache_folder # unfortunately vagrant-omnibus hooks in before our buckets are installed, yet # this is early enough to tell it to download to the vagrant-omnibus pseudo bucket - if env[:machine].config.cache.auto_detect && omnibus_plugin_detected? && omnibus_plugin_enabled? + if @env[:machine].config.cache.auto_detect && omnibus_plugin_detected? && omnibus_plugin_enabled? ENV['OMNIBUS_DOWNLOAD_DIR'] ||= "#{guest_cache_root}/vagrant-omnibus" end end