From 0d0187e91ddd04887fe15a2718a7c215aceca93d Mon Sep 17 00:00:00 2001 From: swissbuechi Date: Thu, 26 Oct 2023 12:41:30 +0200 Subject: [PATCH] fix typo in export --- 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 3f3ba0c..12a9f57 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 << "\nextport 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}'