From 1835ccb64ec8f371bef2d2db83fc53565c36c1d4 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Mon, 10 Apr 2017 23:54:33 +0200 Subject: [PATCH] Use full path to Homestead config file (#540) This allows us to halt the VM from anywhere on the system. --- resources/LocalizedVagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/LocalizedVagrantfile b/resources/LocalizedVagrantfile index 2e88bef0d..25e0fd1f4 100644 --- a/resources/LocalizedVagrantfile +++ b/resources/LocalizedVagrantfile @@ -7,8 +7,8 @@ require 'yaml' VAGRANTFILE_API_VERSION ||= "2" confDir = $confDir ||= File.expand_path("vendor/laravel/homestead", File.dirname(__FILE__)) -homesteadYamlPath = "Homestead.yaml" -homesteadJsonPath = "Homestead.json" +homesteadYamlPath = File.expand_path("Homestead.yaml", File.dirname(__FILE__)) +homesteadJsonPath = File.expand_path("Homestead.json", File.dirname(__FILE__)) afterScriptPath = "after.sh" aliasesPath = "aliases"