From 2a1fa8d74bbe07d64be20d806091c94a6b5fd7f3 Mon Sep 17 00:00:00 2001 From: swissbuechi Date: Thu, 26 Oct 2023 12:45:52 +0200 Subject: [PATCH] Fixed space in path to script --- lib/autoupdate/start.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/autoupdate/start.rb b/lib/autoupdate/start.rb index 12a9f57..68ea4e6 100644 --- a/lib/autoupdate/start.rb +++ b/lib/autoupdate/start.rb @@ -95,7 +95,7 @@ def start(interval:, args:) set_env << "\nexport HOMEBREW_CASK_OPTS=#{env_cask}" if env_cask if args.sudo? - set_env << "\nexport SUDO_ASKPASS=#{Autoupdate::Core.location/"brew_autoupdate_sudo_gui"}" + set_env << "\nexport SUDO_ASKPASS='#{Autoupdate::Core.location/"brew_autoupdate_sudo_gui"}'" sudo_gui_script_contents = <<~EOS #!/bin/sh export PATH='#{env_path}'